Blame files/pkgconf_host/bin/%[_target]-pkg-config

Lucio Andrés Illanes Albornoz f24648
#!/bin/sh
Lucio Andrés Illanes Albornoz f24648
PREFIX=""; [ ${PREFIX:="${0%/*}"} = "${0}" ] && PREFIX="."; PREFIX="${PREFIX:+${PREFIX}/}..";
Lucio Andrés Illanes Albornoz f24648
if [ "${#}" -eq 1 ]\
Lucio Andrés Illanes Albornoz f24648
&& [ "x${1}" = "x--version" ]; then
Lucio Andrés Illanes Albornoz f24648
	"${PREFIX}/bin/pkgconf" --version;
Lucio Andrés Illanes Albornoz f24648
else
Lucio Andrés Illanes Albornoz 236b0a
	"${PREFIX}/bin/pkgconf" --define-variable=prefix="${PREFIX%/}/native/" --keep-system-cflags "${@}";
Lucio Andrés Illanes Albornoz f24648
fi;