From 7191a7394a3091ed2856508674f84f3a87eda5a6 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 3 Apr 2014 17:35:16 +0200 Subject: [PATCH] Support Illumos From https://github.com/NixOS/nix/pull/236 --- lib.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib.mk b/lib.mk index 3fde7fe9..56e162d5 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