[Libreoffice-commits] .: glib/makefile.mk
Tor Lillqvist
tml at kemper.freedesktop.org
Sun Jun 5 16:03:14 PDT 2011
glib/makefile.mk | 9 +++++++++
1 file changed, 9 insertions(+)
New commits:
commit 806465e5bc929f34b30f19c20134a04042396bc7
Author: Tor Lillqvist <tml at iki.fi>
Date: Mon Jun 6 02:03:02 2011 +0300
Pre-cache necessary stuff also when cross-compiling for MacOSX
diff --git a/glib/makefile.mk b/glib/makefile.mk
index 18e180c..280b1a2 100644
--- a/glib/makefile.mk
+++ b/glib/makefile.mk
@@ -64,6 +64,15 @@ FRAMEWORK=-framework CoreFoundation
CONFIGURE_FLAGS=--disable-static
.ENDIF
+.IF "$(OS)"=="MACOSX" && "$(CROSS_COMPILING)"=="YES"
+CONFIGURE_FLAGS+= \
+ glib_cv_stack_grows=no \
+ glib_cv_uscore=yes \
+ ac_cv_func_posix_getpwuid_r=yes \
+ ac_cv_func_posix_getgrgid_r=yes \
+ ac_cv_func__NSGetEnviron=yes
+.ENDIF
+
CONFIGURE_FLAGS+=--prefix=$(SRC_ROOT)$/$(PRJNAME)$/$(MISC)
CONFIGURE_FLAGS+=--disable-fam
CONFIGURE_FLAGS+=CPPFLAGS="$(ARCH_FLAGS) $(EXTRA_CDEFS) -DBUILD_OS_APPLEOSX"
More information about the Libreoffice-commits
mailing list