about summary refs log tree commit diff
path: root/lib.mk
diff options
context:
space:
mode:
Diffstat (limited to 'lib.mk')
-rw-r--r--lib.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib.mk b/lib.mk
index 6bcd83a06e5f..3fde7fe917fb 100644
--- a/lib.mk
+++ b/lib.mk
@@ -34,6 +34,7 @@ ifeq ($(BUILD_SHARED_LIBS), 1)
   ifneq ($(OS), Darwin)
     GLOBAL_LDFLAGS += -Wl,--no-copy-dt-needed-entries
   endif
+  SET_RPATH_TO_LIBS ?= 1
 endif