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

2
lib.mk
View file

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