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.
This commit is contained in:
Tollef Fog Heen 2008-01-16 23:46:58 +01:00
parent ed75a7dd4b
commit 9e5bcc26f2
2 changed files with 6 additions and 2 deletions

View file

@ -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.

View file

@ -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