- (cd $(PKG_BUILD_DIR); rm -f config.cache; \
- glib_cv_sizeof_gmutex=24 \
- glib_cv_prog_cc_ansi_proto="no" \
- glib_cv_has__inline="yes" \
- glib_cv_has__inline__="yes" \
- glib_cv_hasinline="yes" \
- glib_cv_sane_realloc="yes" \
- glib_cv_va_copy="no" \
- glib_cv___va_copy="yes" \
- glib_cv_va_val_copy="yes" \
- glib_cv_rtldglobal_broken="no" \
- glib_cv_uscore="no" \
- glib_cv_func_pthread_mutex_trylock_posix="yes" \
- glib_cv_func_pthread_cond_timedwait_posix="yes" \
- glib_cv_sizeof_gmutex="24" \
- glib_cv_byte_contents_gmutex="0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0" \
- $(TARGET_CONFIGURE_OPTS) \
- CFLAGS="$(TARGET_CFLAGS)" \
- LDFLAGS="-L$(STAGING_DIR)/lib -L$(STAGING_DIR)/usr/lib" \
- ./configure \
- --target=$(GNU_TARGET_NAME) \
- --host=$(GNU_TARGET_NAME) \
- --build=$(GNU_HOST_NAME) \
- --program-prefix="" \
- --program-suffix="" \
- --prefix=/usr \
- --exec-prefix=/usr \
- --bindir=/usr/bin \
- --sbindir=/usr/sbin \
- --libexecdir=/usr/lib \
- --sysconfdir=/etc \
- --datadir=/usr/share \
- --localstatedir=/var \
- --mandir=/usr/man \
- --infodir=/usr/info \
- $(DISABLE_NLS) \
- $(DISABLE_LARGEFILE) \
- --enable-shared=yes \
- --enable-static=yes \
- );