mirror of
https://gitlab.freedesktop.org/pkg-config/pkg-config.git
synced 2026-05-14 10:38:07 +02:00
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:
parent
ed75a7dd4b
commit
9e5bcc26f2
2 changed files with 6 additions and 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.
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue