1 --- builds/posix/make.defaults
2 +++ builds/posix/make.defaults
4 LIB_PLATFORM_RPATH = -Wl,-rpath,$(1)
6 ifeq ($(strip @BINRELOC_CFLAGS@),)
7 - LIB_LINK_RPATH = $(call LIB_PLATFORM_RPATH,$(if $(subst intl,,$(1)),@FB_LIBDIR@,@FB_INTLDIR@))
8 + LIB_LINK_RPATH = $(call LIB_PLATFORM_RPATH,'$$ORIGIN')
10 LIB_LINK_RPATH = $(call LIB_PLATFORM_RPATH,'$$ORIGIN/../$(1)')