diff options
author | Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> | 2012-03-24 02:10:51 +0100 |
---|---|---|
committer | Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> | 2012-03-24 02:12:37 +0100 |
commit | a7c02ed28a8ff20ada18ba82f97b0d67f604d5d8 (patch) | |
tree | 54408411a60e9803c7fef57731ad9e9ce32ef4ef /librsvg | |
parent | make gbuild follow --disable-dependency-tracking too (diff) | |
download | core-a7c02ed28a8ff20ada18ba82f97b0d67f604d5d8.tar.gz core-a7c02ed28a8ff20ada18ba82f97b0d67f604d5d8.zip |
help XCode 2.5 resolve @loader_path/libfoo.dylib
Diffstat (limited to 'librsvg')
-rw-r--r-- | librsvg/makefile.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/librsvg/makefile.mk b/librsvg/makefile.mk index 2383167c01bd..fea2c8fe1d06 100644 --- a/librsvg/makefile.mk +++ b/librsvg/makefile.mk @@ -53,6 +53,10 @@ TARFILE_MD5=d7a242ca43e33e1b63d3073f9d46a6a8 PATCH_FILES=librsvg-2.32.1.patch +LOADER_PATTERN:=-Wl,-dylib_file,@loader_path/REPLACEME:$(SOLARLIBDIR)/REPLACEME +LOADER_LIBS:=cairo.2 gio-2.0.0 glib-2.0.0 gmodule-2.0.0 gobject-2.0.0 gthread-2.0.0 intl.8 pango-1.0.0 +EXTRA_LINKFLAGS+=$(foreach,lib,$(LOADER_LIBS) $(subst,REPLACEME,lib$(lib).dylib $(LOADER_PATTERN))) + .IF "$(LIBXML_LIBS)" == "" LIBXML_LIBS=-lxml2 .ENDIF |