mirror of
https://gitlab.freedesktop.org/pkg-config/pkg-config.git
synced 2026-04-20 03:40:43 +02:00
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:
parent
bfe139da8c
commit
85dce61788
1 changed files with 3 additions and 2 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue