mirror of
https://gitlab.freedesktop.org/pkg-config/pkg-config.git
synced 2026-01-06 18:40:09 +01:00
* check/check-missing, check/check-libs, check/check-requires-private: Handle the case of indirect being enabled correctly in checks.
19 lines
315 B
Bash
Executable file
19 lines
315 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
|