diff options
author | Phillip Berndt <phillip.berndt@googlemail.com> | 2017-02-15 10:06:31 (GMT) |
---|---|---|
committer | Phillip Berndt <phillip.berndt@googlemail.com> | 2017-02-15 10:06:31 (GMT) |
commit | 43db7381bb721eb7c4573c335731dddb5ecb09cb (patch) | |
tree | b9f040f3a49c9b887b3eeb413fc119bf2fc39841 /src | |
parent | b4e1591ddb5d121dff78e548fc40e29a048a4fc9 (diff) | |
download | mxe-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')
-rw-r--r-- | src/glib.mk | 1 |
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)' \ |