Merge pull request #704 from ysangkok/freebsd-support

FreeBSD support with knowledge about Linux emulation
This commit is contained in:
Eelco Dolstra 2015-11-24 19:24:21 +01:00
commit cad40adce5
6 changed files with 16 additions and 3 deletions

View file

@ -10,7 +10,10 @@ libexpr_CXXFLAGS := -Wno-deprecated-register
libexpr_LIBS = libutil libstore libformat
libexpr_LDFLAGS = -ldl
libexpr_LDFLAGS =
ifneq ($(OS), FreeBSD)
libexpr_LDFLAGS += -ldl
endif
# The dependency on libgc must be propagated (i.e. meaning that
# programs/libraries that use libexpr must explicitly pass -lgc),