add case for openwrt aarch64 in static deps

fixes #2103
This commit is contained in:
Jeff Becker 2023-01-03 08:56:54 -05:00
parent 9929445970
commit 1d84d630ea
No known key found for this signature in database
GPG Key ID: 025C02EE3A092F2D

View File

@ -260,7 +260,7 @@ if(CMAKE_CROSSCOMPILING)
set(openssl_arch linux-mips32) set(openssl_arch linux-mips32)
elseif(ARCH_TRIPLET STREQUAL mipsel-linux-gnu) elseif(ARCH_TRIPLET STREQUAL mipsel-linux-gnu)
set(openssl_arch linux-mips) set(openssl_arch linux-mips)
elseif(ARCH_TRIPLET STREQUAL aarch64-linux-gnu) elseif(ARCH_TRIPLET STREQUAL aarch64-linux-gnu OR ARCH_TRIPLET STREQUAL aarch64-openwrt-linux-musl)
# cross compile arm64 # cross compile arm64
set(openssl_arch linux-aarch64) set(openssl_arch linux-aarch64)
elseif(ARCH_TRIPLET MATCHES arm-linux) elseif(ARCH_TRIPLET MATCHES arm-linux)