Mercurial > pub > dyncall > dyncall
changeset 57:4eef76c8d22f r0.9-RC5
- another gnu/kfreebsd configure script linker flag
author | cslag |
---|---|
date | Fri, 25 Dec 2015 23:13:17 +0100 |
parents | 2cccd38e5e4d |
children | b5422dd7fcbc |
files | configure |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/configure Fri Dec 25 21:16:04 2015 +0100 +++ b/configure Fri Dec 25 23:13:17 2015 +0100 @@ -86,7 +86,10 @@ printf "RM=rm -f\n" >>$C ;; GNU/kFreeBSD) - printf "LDLIBS=-lm\n" >>$C + if [ -z "${CFLAGS}" ]; then + printf "CFLAGS=-fPIC\n" >>$C + fi + printf "LDLIBS=-lm -ldl\n" >>$C ;; MacOSX|Darwin) # if Apple's libtool (not to be confused with GNU's) is available, which is according to libtool(1) "with -static [...] intended