summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTollef Fog Heen <tfheen@err.no>2008-01-16 23:46:58 +0100
committerTollef Fog Heen <tfheen@err.no>2008-01-16 23:46:58 +0100
commit9e5bcc26f2defebdab1326456742790a2a9aa13e (patch)
tree7156fe1b46d63c29af315d532955c952ad4f25bb
parented75a7dd4b9cd07286c873e97f5b470d45dbd587 (diff)
downloadpkg-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--ChangeLog3
-rwxr-xr-xcheck/check-requires-private5
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 5b1136b..275e90b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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