Skip to content

Commit b87a73b

Browse files
committed
compile dyncall with -fPIC on DragonFly BSD
This fixes a build problem on DragonFly BSD. It's the same fix as in commit 5ed99d2 for FreeBSD and 008f60c for NetBSD.
1 parent 4c831a3 commit b87a73b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

3rdparty/dyncall/configure

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,11 @@ case ${TARGET:=`uname`} in
5050
OpenBSD)
5151
printf "LDFLAGS=-lm\n" >>$C
5252
;;
53+
DragonFly)
54+
if [ -z "${CFLAGS}" ]; then
55+
printf "CFLAGS=-fPIC\n" >>$C
56+
fi
57+
;;
5358
NetBSD)
5459
if [ -z "${CFLAGS}" ]; then
5560
printf "CFLAGS=-fPIC\n" >>$C

0 commit comments

Comments
 (0)