From de01d3c6d3f9a617d0a7d5b95305c7c3b68d39d6 Mon Sep 17 00:00:00 2001 From: Fridrich Štrba Date: Mon, 27 Feb 2012 10:52:50 +0100 Subject: Make redland build on Mac with internal libxml Signed-off-by: Petr Mladek --- redland/rasqal/makefile.mk | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'redland/rasqal') diff --git a/redland/rasqal/makefile.mk b/redland/rasqal/makefile.mk index 45dbba6f93fe..6f356dbaabba 100644 --- a/redland/rasqal/makefile.mk +++ b/redland/rasqal/makefile.mk @@ -116,6 +116,10 @@ LDFLAGS+:=-L$(SYSBASE)$/lib -L$(SYSBASE)$/usr$/lib -lpthread -ldl .ENDIF .ENDIF # "$(SYSBASE)"!="" +.IF "$(OS)"=="MACOSX" && "$(SYSTEM_LIBXML)" != "YES" +LDFLAGS+:=-Wl,-dylib_file,@loader_path/../ure-link/lib/libxml2.2.dylib:$(SOLARLIBDIR)/libxml2.2.dylib +.ENDIF + CPPFLAGS+:=$(EXTRA_CDEFS) $(EXTRA_CFLAGS) LDFLAGS+:=$(EXTRA_LINKFLAGS) XSLTLIB!:=$(XSLTLIB) # expand dmake variables for xslt-config -- cgit