mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-26 07:46:21 +02:00
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
1 changed files with 4 additions and 1 deletions
|
@ -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