mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-23 21:29:49 +00:00
Add missing linking flags to statically build in OpenBSD
This commit is contained in:
parent
d930ebf298
commit
72246175f5
@ -1,8 +1,13 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ "$(uname)" = Linux ]; then
|
||||
case "$(uname)" in
|
||||
Linux)
|
||||
LDFLAGS="${LDFLAGS} -lpthread -ldl -lutil -lm"
|
||||
fi
|
||||
;;
|
||||
OpenBSD)
|
||||
LDFLAGS="${LDFLAGS} -lpthread -lkvm -lutil -lm"
|
||||
;;
|
||||
esac
|
||||
MAKE=make
|
||||
gmake --help >/dev/null 2>&1
|
||||
[ $? = 0 ] && MAKE=gmake
|
||||
|
Loading…
Reference in New Issue
Block a user