From bf8903fa567e5c1b5d923c6f1c0aeb1d2fd1192a Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 15 Jun 2014 13:09:33 +0200 Subject: cleanup HOST_STYLE, use SYSROOT feature for pkgconf there are three HOST_STYLE's, not set mean fully automatic installation. auto means prefix is set to /usr and DESTDIR is set to STAGING_HOST_DIR. When using manual, you need to provide your own targets. Instead of using sed to modify *.pc files, use PKG_SYSROOT feature, which does work better and avoids pathcing some pc files. Idea from sh4rm via #musl. --- package/glib/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'package/glib') diff --git a/package/glib/Makefile b/package/glib/Makefile index c91d6479c..eec376671 100644 --- a/package/glib/Makefile +++ b/package/glib/Makefile @@ -39,7 +39,8 @@ CONFIGURE_ENV+= glib_cv_long_long_format=ll \ HOST_STYLE:= auto HOST_CONFIGURE_ARGS+= --disable-fam \ --enable-static \ - --disable-compile-warnings + --disable-compile-warnings \ + --datadir=${STAGING_HOST_DIR}/usr/share glib-install: ${INSTALL_DIR} ${IDIR_GLIB}/usr/lib -- cgit v1.2.3