diff options
Diffstat (limited to 'package/glib/Makefile')
-rw-r--r-- | package/glib/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/package/glib/Makefile b/package/glib/Makefile index 692e5c8af..a5df0225f 100644 --- a/package/glib/Makefile +++ b/package/glib/Makefile @@ -43,10 +43,11 @@ CONFIGURE_ENV+= glib_cv_long_long_format=ll \ ac_cv_func_posix_getgrgid_r=yes pre-configure: -ifneq ($(OStype),Darwin) +ifneq ($(OStype),FreeBSD) (cd ${WRKBUILD}; rm -rf config.{cache,status}; \ - ./configure --prefix=$(STAGING_HOST_DIR) \ - ); + CFLAGS="-L/usr/local/lib" ./configure --prefix=$(STAGING_HOST_DIR) \ + --with-libiconv=gnu \ + ) ${MAKE} -C ${WRKBUILD} V=1 $(CP) ${WRKBUILD}/gio/.libs/glib-compile-schemas ${STAGING_HOST_DIR}/bin $(CP) ${WRKBUILD}/gobject/.libs/glib-genmarshal ${STAGING_HOST_DIR}/bin |