diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2018-05-21 20:51:54 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2018-05-21 20:52:41 +0200 |
commit | a05a73019f6fb5f0a7fa002b83741e3c8c81c636 (patch) | |
tree | 87c955adc13cebcbafa84bb0260dc2a4c6b1d944 | |
parent | f09951e1b0e28a355bea76e01e3eb05cace4e607 (diff) |
glib: fix compile under Linux
-rw-r--r-- | package/glib/Makefile | 1 | ||||
-rw-r--r-- | package/util-linux/Makefile | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/package/glib/Makefile b/package/glib/Makefile index 7b964f82e..6cf4b874e 100644 --- a/package/glib/Makefile +++ b/package/glib/Makefile @@ -44,6 +44,7 @@ CONFIGURE_ENV+= glib_cv_long_long_format=ll \ ac_cv_func_posix_getgrgid_r=yes HOST_STYLE:= auto +HOST_CPPFLAGS+= -I$(STAGING_HOST_DIR)/usr/include/libmount ifneq ($(OS_FOR_BUILD),CYGWIN) HOST_CFLAGS+= -fPIC endif diff --git a/package/util-linux/Makefile b/package/util-linux/Makefile index 9797c2d7b..f95599fcd 100644 --- a/package/util-linux/Makefile +++ b/package/util-linux/Makefile @@ -109,6 +109,8 @@ endif TARGET_CFLAGS+= -fPIC FAKE_FLAGS+= INSTALLSUID="install -m 4755" HOST_CONFIGURE_ARGS+= --enable-libuuid \ + --enable-libblkid \ + --enable-libmount \ --disable-all-programs \ --disable-use-tty-group |