mirror of
https://gitlab.freedesktop.org/pkg-config/pkg-config.git
synced 2025-12-28 20:00:05 +01:00
23 lines
458 B
Bash
Executable file
23 lines
458 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
|
|
|
|
case ${MACHTYPE} in
|
|
*-msys)
|
|
# Make sure path doesn't get mangled on MSYS
|
|
ARGS="--define-variable=includedir=\\/includedir/ --cflags simple"
|
|
;;
|
|
*)
|
|
ARGS="--define-variable=includedir=/includedir/ --cflags simple"
|
|
;;
|
|
esac
|
|
RESULT="-I/includedir/"
|
|
|
|
run_test
|