Apache OpenOffice (AOO) Bugzilla – Attachment #21709: reflect unxlngi6.mk ORIGIN rpath into similiar linux platforms for issue #41018
# name of linker
LINK*=gcc
# default linker flags
LINKFLAGS=
LINKFLAGS=-Wl,-rpath,\''$$ORIGIN'\'
# linker flags for linking applications
LINKFLAGSAPPGUI= -Wl,-export-dynamic
LINKFLAGSAPPCUI= -Wl,-export-dynamic
# linker flags for linking shared libraries
LINKFLAGSSHLGUI= -shared
LINKFLAGSSHLCUI= -shared
LINKFLAGSTACK=
LINKFLAGSPROF=
LINK=gcc
LINKFLAGSAPPGUI= -Wl,-export-dynamic -Wl,--noinhibit-exec
LINK*=$(CC)
# LINKFLAGSRUNPATH*=-Wl,-rpath\''$$ORIGIN'\'
LINKFLAGSRUNPATH*=-Wl,-rpath\''$$ORIGIN'\'
LINKFLAGS=-z combreloc $(LINKFLAGSRUNPATH)