diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-03-03T14·19+0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-03-03T14·19+0100 |
commit | a3767628481eefc956eb9d9d70eda62930549205 (patch) | |
tree | 1f756c8987bc5252c2db7867bac1bad7e3e03d7c /lib.mk | |
parent | 4eac3b2471063a3726790368665df963e809fc4e (diff) |
Add support for making relocatable packages using $ORIGIN
Diffstat (limited to 'lib.mk')
-rw-r--r-- | lib.mk | 1 |
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 |