[Libreoffice-commits] .: libcroco/makefile.mk
Christian Lohmaier
cloph at kemper.freedesktop.org
Sun Jun 12 12:01:51 PDT 2011
libcroco/makefile.mk | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
New commits:
commit 25c47d85186822dc490c5ebd528c983f12b6b3f1
Author: Christian Lohmaier <lohmaier+LibreOffice at googlemail.com>
Date: Sun Jun 12 21:00:47 2011 +0200
tell the linker how to resolve @loader_path on Mac
also cleanup useless double checking for MACOSX
and remove unneeded AUGMENT_LIBRARY_PATH
diff --git a/libcroco/makefile.mk b/libcroco/makefile.mk
index 9e26dde..4789c07 100644
--- a/libcroco/makefile.mk
+++ b/libcroco/makefile.mk
@@ -51,17 +51,14 @@ PATCH_FILES=
CONFIGURE_DIR=
.IF "$(OS)"=="MACOSX"
-CONFIGURE_ACTION=$(AUGMENT_LIBRARY_PATH) \
- ./configure \
- --prefix=$(SRC_ROOT)/$(PRJNAME)/$(MISC) \
+CONFIGURE_ACTION=./configure --prefix=$(SRC_ROOT)/$(PRJNAME)/$(MISC) \
+ CPPFLAGS="$(EXTRA_CDEFS)" \
CFLAGS="$(ARCH_FLAGS) $(EXTRA_CFLAGS) -I$(SOLARINCDIR)/external -I$(SOLARINCDIR)/external/glib-2.0" \
- LDFLAGS="-L$(SOLARLIBDIR) $(eq,$(OS),MACOSX $(EXTRA_LINKFLAGS) $(NULL))" \
+ LDFLAGS="-L$(SOLARLIBDIR) $(EXTRA_LINKFLAGS) -Wl,-dylib_file, at loader_path/libgmodule-2.0.0.dylib:$(SOLARLIBDIR)/libgmodule-2.0.0.dylib" \
GLIB2_CFLAGS="-I$(SOLARINCDIR)/external/glib-2.0" \
GLIB2_LIBS="-lgio-2.0 -lgobject-2.0 -lgthread-2.0 -lglib-2.0 -lintl" \
LIBXML2_CFLAGS="$(LIBXML_CFLAGS)" LIBXML2_LIBS="$(LIBXML_LIBS)"
-CONFIGURE_FLAGS=$(eq,$(OS),MACOSX CPPFLAGS="$(EXTRA_CDEFS)" $(NULL))
-
.IF "$(CROSS_COMPILING)"=="YES"
CONFIGURE_FLAGS+=--build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM)
.ENDIF
More information about the Libreoffice-commits
mailing list