[PATCH 5/8] Adjust PKG_CONFIG_PATH for tests correctly on Windows
Dan Nicholson
dbn.lists at gmail.com
Sat Apr 6 09:17:41 PDT 2013
For native Windows, the PKG_CONFIG_PATH separator is ; rather than :.
---
check/check-sort-order | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/check/check-sort-order b/check/check-sort-order
index 77c0806..6482f6f 100755
--- a/check/check-sort-order
+++ b/check/check-sort-order
@@ -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"
--
1.8.1.4
More information about the pkg-config
mailing list