From: Tollef Fog Heen Date: Wed, 16 Jan 2008 22:46:58 +0000 (+0100) Subject: 2008-01-16 Tollef Fog Heen X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e5bcc26f2defebdab1326456742790a2a9aa13e;p=pkg-config 2008-01-16 Tollef Fog Heen * check/check-requires-private: Fix up test case. We want to get the private -I option in all cases. --- diff --git a/ChangeLog b/ChangeLog index 5b1136b..275e90b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2008-01-16 Tollef Fog Heen + * check/check-requires-private: Fix up test case. We want to get + the private -I option in all cases. + * pkg.h, pkg.c (string_list_to_string), pkg-config.1, main.c (main): Add sysroot support and document same. Triggered by setting PKG_CONFIG_SYSROOT_DIR in the environment. diff --git a/check/check-requires-private b/check/check-requires-private index 234b8ed..7d0f9a9 100755 --- a/check/check-requires-private +++ b/check/check-requires-private @@ -9,14 +9,15 @@ set -e . ${srcdir}/common +set -x # expect cflags from requires-test and public-dep ARGS="--cflags requires-test" -RESULT="-I/requires-test/include -I/public-dep/include" +RESULT="-I/requires-test/include -I/private-dep/include -I/public-dep/include" run_test # still expect those cflags for static linking case ARGS="--static --cflags requires-test" -RESULT="-I/requires-test/include -I/public-dep/include" +RESULT="-I/requires-test/include -I/private-dep/include -I/public-dep/include" run_test # expect libs for just requires-test and public-dep