From a7c02ed28a8ff20ada18ba82f97b0d67f604d5d8 Mon Sep 17 00:00:00 2001 From: Christian Lohmaier Date: Sat, 24 Mar 2012 02:10:51 +0100 Subject: help XCode 2.5 resolve @loader_path/libfoo.dylib --- librsvg/makefile.mk | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'librsvg') 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 -- cgit