aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-04-03 17:35:16 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-04-03 17:35:16 +0200
commit7191a7394a3091ed2856508674f84f3a87eda5a6 (patch)
tree3e21fdd973c1540c64facb988a9dad0d46ff1559
parentd6a45f6bdbf7c71eda9e4ab1ab78b373be5422b9 (diff)
Support Illumos
From https://github.com/NixOS/nix/pull/236
-rw-r--r--lib.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib.mk b/lib.mk
index 3fde7fe91..56e162d50 100644
--- a/lib.mk
+++ b/lib.mk
@@ -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