mirror of
https://github.com/curl/curl.git
synced 2026-04-15 01:01:41 +03:00
runtests: recognize lowercase windows in curl -V
As in vcpkg triplets. Test it in CI. Closes #17088
This commit is contained in:
parent
e3912f0f9f
commit
cac50319f9
2 changed files with 2 additions and 1 deletions
1
.github/workflows/windows.yml
vendored
1
.github/workflows/windows.yml
vendored
|
|
@ -897,6 +897,7 @@ jobs:
|
|||
-DCMAKE_TOOLCHAIN_FILE="$VCPKG_INSTALLATION_ROOT/scripts/buildsystems/vcpkg.cmake" \
|
||||
-DVCPKG_INSTALLED_DIR="$VCPKG_INSTALLATION_ROOT/installed" \
|
||||
-DVCPKG_TARGET_TRIPLET='${{ matrix.arch }}-${{ matrix.plat }}' \
|
||||
-DCMAKE_C_COMPILER_TARGET='${{ matrix.arch }}-${{ matrix.plat }}' \
|
||||
-DCMAKE_C_FLAGS="${cflags}" \
|
||||
-DCMAKE_EXE_LINKER_FLAGS="-INCREMENTAL:NO ${ldflags}" \
|
||||
-DCMAKE_SHARED_LINKER_FLAGS="-INCREMENTAL:NO ${ldflags}" \
|
||||
|
|
|
|||
|
|
@ -542,7 +542,7 @@ sub checksystemfeatures {
|
|||
# system support LD_PRELOAD; may be disabled later
|
||||
$feature{"ld_preload"} = 1;
|
||||
}
|
||||
if($curl =~ /win32|Windows|mingw(32|64)/) {
|
||||
if($curl =~ /win32|Windows|windows|mingw(32|64)/) {
|
||||
# This is a Windows MinGW build or native build, we need to use
|
||||
# Windows-style path.
|
||||
$pwd = sys_native_current_path();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue