mirror of https://github.com/microsoft/vcpkg.git
scripts: Support autoconf cross compilation for *BSD and Solaris (#49438)
This commit is contained in:
parent
9c6667d6a7
commit
5d2b8a6efd
|
|
@ -391,8 +391,8 @@ function(vcpkg_configure_make)
|
|||
endif()
|
||||
endif()
|
||||
|
||||
# Linux - cross-compiling support
|
||||
if(VCPKG_TARGET_IS_LINUX)
|
||||
# Linux / BSD / Solaris - cross-compiling support
|
||||
if(VCPKG_TARGET_IS_LINUX OR VCPKG_TARGET_IS_BSD OR VCPKG_TARGET_IS_SOLARIS)
|
||||
if (requires_autoconfig AND NOT arg_BUILD_TRIPLET OR arg_DETERMINE_BUILD_TRIPLET)
|
||||
# The regex below takes the prefix from the resulting CMAKE_C_COMPILER variable eg. arm-linux-gnueabihf-gcc
|
||||
# set in the common toolchains/linux.cmake
|
||||
|
|
|
|||
Loading…
Reference in New Issue