diff options
author | Tollef Fog Heen <tfheen@err.no> | 2008-01-16 23:46:58 +0100 |
---|---|---|
committer | Tollef Fog Heen <tfheen@err.no> | 2008-01-16 23:46:58 +0100 |
commit | 9e5bcc26f2defebdab1326456742790a2a9aa13e (patch) | |
tree | 7156fe1b46d63c29af315d532955c952ad4f25bb | |
parent | ed75a7dd4b9cd07286c873e97f5b470d45dbd587 (diff) | |
download | pkg-config-9e5bcc26f2defebdab1326456742790a2a9aa13e.tar.gz |
2008-01-16 Tollef Fog Heen <tfheen@err.no>
* check/check-requires-private: Fix up test case. We want to get
the private -I option in all cases.
-rw-r--r-- | ChangeLog | 3 | ||||
-rwxr-xr-x | check/check-requires-private | 5 |
2 files changed, 6 insertions, 2 deletions
@@ -1,5 +1,8 @@ 2008-01-16 Tollef Fog Heen <tfheen@err.no> + * 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 |