mirror of
https://github.com/radareorg/radare2.git
synced 2025-02-08 23:07:17 +00:00
Fix Build on NetBSD (#16520) ##build
This commit is contained in:
parent
c53f1a30ca
commit
0a2f9dd29e
@ -4,7 +4,6 @@
|
||||
#include <errno.h>
|
||||
#include <sys/param.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/user.h>
|
||||
#include <sys/sysctl.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/wait.h>
|
||||
|
@ -85,7 +85,7 @@ r_util_sources = [
|
||||
]
|
||||
|
||||
r_util_deps = [ldl, mth, pth, utl, sdb_dep, zlib_dep, platform_deps]
|
||||
if host_machine.system().startswith('freebsd')
|
||||
if host_machine.system().startswith('freebsd') or host_machine.system().startswith('netbsd')
|
||||
# backtrace_symbols_fd requires -lexecinfo
|
||||
r_util_deps += [cc.find_library('execinfo')]
|
||||
endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user