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:
Manuel Jacob 2015-10-02 15:35:33 +02:00
parent c999ef70e8
commit 12c1776df9

View file

@ -10,7 +10,10 @@ libexpr_CXXFLAGS := -Wno-deprecated-register
libexpr_LIBS = libutil libstore libformat 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 # The dependency on libgc must be propagated (i.e. meaning that
# programs/libraries that use libexpr must explicitly pass -lgc), # programs/libraries that use libexpr must explicitly pass -lgc),