mirror of
https://gitlab.freedesktop.org/pkg-config/pkg-config.git
synced 2026-05-19 20:08:25 +02:00
20 lines
473 B
Bash
Executable file
20 lines
473 B
Bash
Executable file
#! /bin/sh
|
|
|
|
# Make sure we're POSIX
|
|
if [ "$PKG_CONFIG_SHELL_IS_POSIX" != "1" ]; then
|
|
PKG_CONFIG_SHELL_IS_POSIX=1 PATH=`getconf PATH` exec sh $0 "$@"
|
|
fi
|
|
|
|
set -e
|
|
|
|
. ${srcdir}/common
|
|
|
|
# expect cflags from whitespace
|
|
ARGS="--cflags whitespace"
|
|
RESULT="-Dlala=misc -I/usr/white\\ space/include -Iinclude\\ dir -Iother\\ include\\ dir"
|
|
run_test
|
|
|
|
# expect libs from whitespace
|
|
ARGS="--libs whitespace"
|
|
RESULT="-r:foo -L/usr/white\\ space/lib -lfoo\\ bar -lbar\\ baz"
|
|
run_test
|