Skip to content

Commit

Permalink
Merge pull request #184 from usev6/master
Browse files Browse the repository at this point in the history
compile dyncall with -fPIC on DragonFly BSD
  • Loading branch information
FROGGS committed Sep 20, 2014
2 parents 4c831a3 + b87a73b commit 034304d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions 3rdparty/dyncall/configure
Expand Up @@ -50,6 +50,11 @@ case ${TARGET:=`uname`} in
OpenBSD)
printf "LDFLAGS=-lm\n" >>$C
;;
DragonFly)
if [ -z "${CFLAGS}" ]; then
printf "CFLAGS=-fPIC\n" >>$C
fi
;;
NetBSD)
if [ -z "${CFLAGS}" ]; then
printf "CFLAGS=-fPIC\n" >>$C
Expand Down

0 comments on commit 034304d

Please sign in to comment.