Support Illumos

From https://github.com/NixOS/nix/pull/236
This commit is contained in:
Eelco Dolstra 2014-04-03 17:35:16 +02:00
parent d6a45f6bdb
commit 7191a7394a
1 changed files with 2 additions and 0 deletions

2
lib.mk
View File

@ -32,7 +32,9 @@ ifeq ($(BUILD_SHARED_LIBS), 1)
GLOBAL_CFLAGS += -fPIC
GLOBAL_CXXFLAGS += -fPIC
ifneq ($(OS), Darwin)
ifneq ($(OS), SunOS)
GLOBAL_LDFLAGS += -Wl,--no-copy-dt-needed-entries
endif
endif
SET_RPATH_TO_LIBS ?= 1
endif