From a3767628481eefc956eb9d9d70eda62930549205 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 3 Mar 2014 15:19:04 +0100 Subject: Add support for making relocatable packages using $ORIGIN --- lib.mk | 1 + 1 file changed, 1 insertion(+) (limited to 'lib.mk') 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 -- cgit 1.4.1