"Fixed" the FreeBSD build.

This commit is contained in:
Pietro Gagliardi 2016-01-22 13:08:36 -05:00
parent 908221f7dd
commit febb37700a
1 changed files with 3 additions and 0 deletions

View File

@ -48,5 +48,8 @@ LDFLAGS += \
# flags for warning on undefined symbols
# this is not gcc-global because OS X doesn't support these flags
# TODO figure out why FreeBSD follows linked libraries here
ifneq ($(shell uname -s),FreeBSD)
LDFLAGS += \
-Wl,--no-undefined -Wl,--no-allow-shlib-undefined
endif