diff options
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" |