Kaydet (Commit) 8cae99e1 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Pre-cache necessary stuff also when cross-compiling for MacOSX

üst a3c36966
......@@ -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"
......
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