summaryrefslogtreecommitdiffstats
path: root/src/glib.mk
diff options
context:
space:
mode:
authorPhillip Berndt <phillip.berndt@googlemail.com>2017-02-15 10:06:31 (GMT)
committerPhillip Berndt <phillip.berndt@googlemail.com>2017-02-15 10:06:31 (GMT)
commit43db7381bb721eb7c4573c335731dddb5ecb09cb (patch)
treeb9f040f3a49c9b887b3eeb413fc119bf2fc39841 /src/glib.mk
parentb4e1591ddb5d121dff78e548fc40e29a048a4fc9 (diff)
downloadmxe-43db7381bb721eb7c4573c335731dddb5ecb09cb.zip
mxe-43db7381bb721eb7c4573c335731dddb5ecb09cb.tar.gz
mxe-43db7381bb721eb7c4573c335731dddb5ecb09cb.tar.bz2
Fix glib build failure if native glib is unavailable
Recent versions of glib require libmount on Linux. If it is unavailable, configure fails with checking libmount/libmount.h presence... no checking for libmount/libmount.h... no configure: error: *** Could not find libmount This commit disables libmount.
Diffstat (limited to 'src/glib.mk')
-rw-r--r--src/glib.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glib.mk b/src/glib.mk
index 11972b1..82fb7f9 100644
--- a/src/glib.mk
+++ b/src/glib.mk
@@ -47,6 +47,7 @@ define $(PKG)_NATIVE_BUILD
--disable-fam \
--disable-xattr \
--disable-dtrace \
+ --disable-libmount \
--with-libiconv=gnu \
--with-pcre=internal \
CPPFLAGS='-I$(1).native/$(libiconv_SUBDIR)/include -I$(1).native/$(zlib_SUBDIR)' \