mirror of
https://gitlab.freedesktop.org/pkg-config/pkg-config.git
synced 2026-05-14 14:08:11 +02:00
Merge branch '51-check-system-flags' into 'master'
Fix "FAIL: check-system-flags" See merge request pkg-config/pkg-config!3
This commit is contained in:
commit
e2f581fd8c
1 changed files with 3 additions and 3 deletions
|
|
@ -34,10 +34,10 @@ PKG_CONFIG_SYSTEM_INCLUDE_PATH=/foo/include
|
|||
PKG_CONFIG_SYSTEM_LIBRARY_PATH=/foo/lib
|
||||
|
||||
RESULT="-I/usr/include"
|
||||
run_test --cflags system
|
||||
PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 run_test --cflags system
|
||||
|
||||
RESULT="-L/usr/lib -lsystem"
|
||||
run_test --libs system
|
||||
PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 run_test --libs system
|
||||
|
||||
# Now check that the various GCC environment variables also update the
|
||||
# system include path
|
||||
|
|
@ -56,7 +56,7 @@ done
|
|||
# system include path when --msvc-syntax is in use
|
||||
for var in INCLUDE; do
|
||||
RESULT="-I/usr/include"
|
||||
eval $var=/usr/include run_test --cflags system
|
||||
eval PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 $var=/usr/include run_test --cflags system
|
||||
|
||||
# Make sure these are skipped in --msvc-syntax mode
|
||||
if [ "$native_win32" = yes ]; then
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue