mirror of
https://gitlab.freedesktop.org/pkg-config/pkg-config.git
synced 2025-12-26 22:30:03 +01:00
Make sure that the --*-only-* variants of --cflags and --libs do the right thing. This should probably be extended to cover a chain of packages to get the ordering right, but this is good for now.
20 lines
287 B
Bash
Executable file
20 lines
287 B
Bash
Executable file
#! /bin/sh
|
|
|
|
set -e
|
|
|
|
. ${srcdir}/common
|
|
|
|
RESULT=""
|
|
run_test --cflags simple
|
|
|
|
RESULT=""
|
|
run_test --cflags fields-blank
|
|
|
|
RESULT="-DOTHER -I/other/include"
|
|
run_test --cflags other
|
|
|
|
RESULT="-I/other/include"
|
|
run_test --cflags-only-I other
|
|
|
|
RESULT="-DOTHER"
|
|
run_test --cflags-only-other other
|