From 7ad92d7be4c2ef6be01ece15189ee518e07a2baa Mon Sep 17 00:00:00 2001 From: Marc Andre Tanner Date: Wed, 6 Oct 2010 20:39:01 +0200 Subject: [PATCH] Fix breakage for newer pkg-config versions The workaround for older version actually broke newer ones. Signed-off-by: Marc Andre Tanner --- sources/include.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- 2.11.4.GIT