office-gobmx/firebird/firebird-rpath.patch.0
Stephan Bergmann cfdfd1ad76 Simplify and fix the embedded Firebird on Linux
Change-Id: Ibd29bb964cd090cbfd958a9e54658249e8ce4317
2013-08-29 16:03:14 +02:00

11 lines
389 B
Text

--- builds/posix/make.defaults
+++ builds/posix/make.defaults
@@ -255,7 +255,7 @@
LIB_PLATFORM_RPATH = -Wl,-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