Adjust PKG_CONFIG_PATH for tests correctly on Windows

For native Windows, the PKG_CONFIG_PATH separator is ; rather than :.
This commit is contained in:
Dan Nicholson 2013-03-29 02:05:17 -07:00
parent bfe139da8c
commit 85dce61788

View file

@ -34,8 +34,9 @@ set -e
. ${srcdir}/common
order1="$srcdir/sort/sort:$srcdir/sort"
order2="$srcdir/sort:$srcdir/sort/sort"
[ "$native_win32" = yes ] && sep=';' || sep=':'
order1="${srcdir}/sort/sort${sep}${srcdir}/sort"
order2="${srcdir}/sort${sep}${srcdir}/sort/sort"
export PKG_CONFIG_PATH
PKG_CONFIG_PATH="$order1"