summaryrefslogtreecommitdiff
path: root/package/glib
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2014-08-25 18:37:36 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2014-08-25 18:37:36 +0200
commitcfab66bf3a9e207a1236923921c3fb348309f1bd (patch)
tree6a9232bb6d988796310699a0555ed93a77f25324 /package/glib
parenta13688c1c1e5944ef6806089aae34a4c9519b435 (diff)
fix compile on Darwin
Diffstat (limited to 'package/glib')
-rw-r--r--package/glib/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/package/glib/Makefile b/package/glib/Makefile
index 67c5cab9e..6d6323877 100644
--- a/package/glib/Makefile
+++ b/package/glib/Makefile
@@ -40,9 +40,12 @@ CONFIGURE_ENV+= glib_cv_long_long_format=ll \
ac_cv_func_posix_getgrgid_r=yes
HOST_STYLE:= auto
+ifneq ($(OStype),Darwin)
+HOST_CONFIGURE_ARGS+= --with-libiconv=no
+endif
HOST_CONFIGURE_ARGS+= --disable-fam \
--enable-static \
- --with-libiconv=no \
+ --disable-shared \
--disable-compile-warnings
glib-install: