pkg-config/check/check-libs
Tollef Fog Heen 4c6ff1c3d5 Add test case for empty fields
Make sure we don't run into the bug fixed by 6a27c57 again.
2010-05-27 22:23:40 +02:00

22 lines
361 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
ARGS="--libs simple"
if [ "$list_indirect_deps" = "yes" ]; then
RESULT="-lsimple -lm"
else
RESULT="-lsimple"
fi
run_test
ARGS="--libs fields-blank"
RESULT=""
run_test