From: Marc Andre Tanner Date: Wed, 6 Oct 2010 18:39:01 +0000 (+0200) Subject: Fix breakage for newer pkg-config versions X-Git-Tag: v0.2~2 X-Git-Url: https://repo.or.cz/w/qi-bootmenu-system.git/commitdiff_plain/7ad92d7be4c2ef6be01ece15189ee518e07a2baa Fix breakage for newer pkg-config versions The workaround for older version actually broke newer ones. Signed-off-by: Marc Andre Tanner --- diff --git a/sources/include.sh b/sources/include.sh index c892e57..7596f76 100755 --- a/sources/include.sh +++ b/sources/include.sh @@ -43,7 +43,10 @@ LDFLAGS="-Wl,--gc-section" # in depencies from the host system. export PKG_CONFIG_PATH="${STAGING_DIR}/usr/lib/pkgconfig" export PKG_CONFIG_LIBDIR="${STAGING_DIR}/usr/lib/pkgconfig" -export PKG_CONFIG_SYSROOT_DIR="${STAGING_DIR}" +# only works with pkg-config >= 0.23 but because we have a hack +# in place to make it work with older pkg-config versions disable +# it here for now +#export PKG_CONFIG_SYSROOT_DIR="${STAGING_DIR}" # check if we are building natively or if we are cross compiling