NetBSD ships with backtrace(3) in libexecinfo

This commit is contained in:
Kamil Rytarowski 2016-07-05 16:35:31 +02:00 committed by Robin Gareus
parent 9d3077bd03
commit e426f0777a

View File

@ -145,6 +145,9 @@ def build(bld):
obj.install_path = bld.env['LIBDIR']
obj.defines += [ 'PACKAGE="' + I18N_PACKAGE + '"' ]
if sys.platform.startswith('netbsd'):
obj.linkflags = '-lexecinfo'
if bld.env['build_target'] == 'x86_64':
obj.defines += [ 'USE_X86_64_ASM' ]
if bld.env['build_target'] == 'mingw':