mirror of
https://gitlab.freedesktop.org/pkg-config/pkg-config.git
synced 2026-04-23 20:20:49 +02:00
20 lines
487 B
Bash
Executable file
20 lines
487 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 -I$(top_builddir) -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
|