mirror of
https://github.com/radareorg/radare2.git
synced 2025-01-28 00:33:36 +00:00
meson: add -lexecinfo on FreeBSD (#10932)
This commit is contained in:
parent
3aafc2cb28
commit
dd13b619f8
@ -80,9 +80,14 @@ files = [
|
||||
'regex/regerror.c'
|
||||
]
|
||||
|
||||
r_util_deps = [ldl, mth, pth, utl, sdb_dep, zlib_dep]
|
||||
if host_machine.system().startswith('freebsd')
|
||||
# backtrace_symbols_fd requires -lexecinfo
|
||||
r_util_deps += [cc.find_library('execinfo')]
|
||||
endif
|
||||
r_util = library('r_util', files,
|
||||
include_directories: platform_inc,
|
||||
dependencies: [ldl, mth, pth, utl, sdb_dep, zlib_dep],
|
||||
dependencies: r_util_deps,
|
||||
install: true,
|
||||
implicit_include_directories: false,
|
||||
soversion: r2_libversion
|
||||
|
Loading…
x
Reference in New Issue
Block a user