Kaydet (Commit) de01d3c6 authored tarafından Fridrich Štrba's avatar Fridrich Štrba Kaydeden (comit) Petr Mladek

Make redland build on Mac with internal libxml

Signed-off-by: 's avatarPetr Mladek <pmladek@suse.cz>
üst dae9dd4c
...@@ -116,6 +116,10 @@ LDFLAGS+:=-L$(SYSBASE)$/lib -L$(SYSBASE)$/usr$/lib -lpthread -ldl ...@@ -116,6 +116,10 @@ LDFLAGS+:=-L$(SYSBASE)$/lib -L$(SYSBASE)$/usr$/lib -lpthread -ldl
.ENDIF .ENDIF
.ENDIF # "$(SYSBASE)"!="" .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) CPPFLAGS+:=$(EXTRA_CDEFS) $(EXTRA_CFLAGS)
LDFLAGS+:=$(EXTRA_LINKFLAGS) LDFLAGS+:=$(EXTRA_LINKFLAGS)
XSLTLIB!:=$(XSLTLIB) # expand dmake variables for xslt-config XSLTLIB!:=$(XSLTLIB) # expand dmake variables for xslt-config
......
...@@ -118,6 +118,10 @@ LDFLAGS+:=-L$(SYSBASE)$/lib -L$(SYSBASE)$/usr$/lib -lpthread -ldl ...@@ -118,6 +118,10 @@ LDFLAGS+:=-L$(SYSBASE)$/lib -L$(SYSBASE)$/usr$/lib -lpthread -ldl
.IF "$(OS)"=="MACOSX" .IF "$(OS)"=="MACOSX"
LDFLAGS+:=-Wl,-dylib_file,@loader_path/libraptor.1.dylib:$(PWD)/$(LB)/libraptor.1.dylib LDFLAGS+:=-Wl,-dylib_file,@loader_path/libraptor.1.dylib:$(PWD)/$(LB)/libraptor.1.dylib
.IF "$(SYSTEM_LIBXML)" != "YES"
LDFLAGS+:=-Wl,-dylib_file,@loader_path/../ure-link/lib/libxml2.2.dylib:$(SOLARLIBDIR)/libxml2.2.dylib
.ENDIF
.ENDIF .ENDIF
CPPFLAGS+:=$(EXTRA_CDEFS) $(EXTRA_CFLAGS) CPPFLAGS+:=$(EXTRA_CDEFS) $(EXTRA_CFLAGS)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment