aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mk/lib.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/lib.mk b/mk/lib.mk
index 4ad5c636c..bb82801d3 100644
--- a/mk/lib.mk
+++ b/mk/lib.mk
@@ -61,7 +61,9 @@ ifeq ($(BUILD_SHARED_LIBS), 1)
endif
ifneq ($(OS), Darwin)
ifneq ($(OS), SunOS)
- GLOBAL_LDFLAGS += -Wl,--no-copy-dt-needed-entries
+ ifneq ($(OS), FreeBSD)
+ GLOBAL_LDFLAGS += -Wl,--no-copy-dt-needed-entries
+ endif
endif
endif
SET_RPATH_TO_LIBS ?= 1