mirror of
https://gitlab.freedesktop.org/pkg-config/pkg-config.git
synced 2025-12-20 04:20:04 +01:00
Run cmd through Wine when available
If we have Wine, it will provide cmd so we can build the pkg-config path for the test.
This commit is contained in:
parent
4a0ab4be0b
commit
7328e6fc9e
2 changed files with 2 additions and 1 deletions
|
|
@ -22,7 +22,7 @@ if [ "$native_win32" = yes ]; then
|
|||
# Assume we have cmd somewhere to get variable %cd%. Make sure
|
||||
# to strip carriage returns.
|
||||
pcdir=$(cd $top_builddir/.libs &&
|
||||
cmd /C echo %cd% | sed -r 's/\r//g')
|
||||
$WINE cmd /C echo %cd% | sed -r 's/\r//g')
|
||||
fi
|
||||
win_path="$pcdir/lib/pkgconfig;$pcdir/share/pkgconfig"
|
||||
|
||||
|
|
|
|||
|
|
@ -15,3 +15,4 @@ system_library_path="@system_library_path@"
|
|||
list_indirect_deps=@use_indirect_deps@
|
||||
PACKAGE_VERSION=@PACKAGE_VERSION@
|
||||
native_win32=@native_win32@
|
||||
WINE=@WINE@
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue