Add support for making relocatable packages using $ORIGIN
This commit is contained in:
parent
4eac3b2471
commit
a376762848
3 changed files with 9 additions and 5 deletions
1
lib.mk
1
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
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue