forked from lix-project/lix
Don't try to link libdl on FreeBSD.
There is no libdl on FreeBSD. Instead the symbols are included in libc.
This commit is contained in:
parent
c999ef70e8
commit
12c1776df9
|
@ -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),
|
||||
|
|
Loading…
Reference in a new issue