diff options
author | Tor Lillqvist <tml@iki.fi> | 2011-06-06 02:03:02 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2011-06-06 02:03:02 +0300 |
commit | 8cae99e1be367fc801acaaadfe4879ff1ebb4aa4 (patch) | |
tree | 85b114be9538d400289af5436ca8aa5df534f4c3 /glib | |
parent | a3c369662401501a5ebad8fe30f7e23cbce9949d (diff) |
Pre-cache necessary stuff also when cross-compiling for MacOSX
Diffstat (limited to 'glib')
-rw-r--r-- | glib/makefile.mk | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/glib/makefile.mk b/glib/makefile.mk index 18e180c401d9..280b1a2a0b4b 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" |