summaryrefslogtreecommitdiffstats
path: root/external/firebird/firebird-rpath.patch.0
blob: bc9fd3a3f9ed91a4514b820bdc72ae6cbd924673 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- builds/posix/make.defaults
+++ builds/posix/make.defaults
@@ -292,7 +292,7 @@
 LIB_PLATFORM_RPATH = -Wl,-rpath,$(1)
 ifeq (@USE_RPATH@,1)
     ifeq ($(strip @BINRELOC_CFLAGS@),)
-        LIB_LINK_RPATH = $(call LIB_PLATFORM_RPATH,$(if $(subst intl,,$(1)),@FB_LIBDIR@,@FB_INTLDIR@))
+        LIB_LINK_RPATH = $(call LIB_PLATFORM_RPATH,'$$ORIGIN')
     else
         LIB_LINK_RPATH = $(call LIB_PLATFORM_RPATH,'$$ORIGIN/../$(1)')
     endif