diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-04-03T15·35+0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-04-03T15·35+0200 |
commit | 7191a7394a3091ed2856508674f84f3a87eda5a6 (patch) | |
tree | 3e21fdd973c1540c64facb988a9dad0d46ff1559 /lib.mk | |
parent | d6a45f6bdbf7c71eda9e4ab1ab78b373be5422b9 (diff) |
Support Illumos
From https://github.com/NixOS/nix/pull/236
Diffstat (limited to 'lib.mk')
-rw-r--r-- | lib.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib.mk b/lib.mk index 3fde7fe917fb..56e162d5007c 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 |