diff options
-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 |