mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-06-07 02:33:07 +08:00
[vcpkg] Always use an autotools build triplet (#18130)
* Always use a build triplet for mingw * [vcpkg_configure_make] Always assume cross-compilation Co-authored-by: Robert Schumacher <roschuma@microsoft.com> Co-authored-by: NancyLi1013 <lirui09@beyondsoft.com>
This commit is contained in:
parent
7375bb408f
commit
fdb593292c
@ -306,7 +306,7 @@ function(vcpkg_configure_make)
|
||||
list(APPEND msys_require_packages binutils libtool autoconf automake-wrapper automake1.16 m4)
|
||||
vcpkg_acquire_msys(MSYS_ROOT PACKAGES ${msys_require_packages} ${arg_ADDITIONAL_MSYS_PACKAGES})
|
||||
endif()
|
||||
if (arg_AUTOCONFIG AND NOT arg_BUILD_TRIPLET OR arg_DETERMINE_BUILD_TRIPLET OR VCPKG_CROSSCOMPILING AND NOT arg_BUILD_TRIPLET)
|
||||
if (arg_DETERMINE_BUILD_TRIPLET OR NOT arg_BUILD_TRIPLET)
|
||||
z_vcpkg_determine_autotools_host_cpu(BUILD_ARCH) # VCPKG_HOST => machine you are building on => --build=
|
||||
z_vcpkg_determine_autotools_target_cpu(TARGET_ARCH)
|
||||
# --build: the machine you are building on
|
||||
|
Loading…
Reference in New Issue
Block a user