Skip to content

Commit

Permalink
add support for Linux cross-builds try 4
Browse files Browse the repository at this point in the history
  • Loading branch information
vszakats committed Aug 30, 2023
1 parent bf3995b commit 25aa145
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions openssl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ _VER="$1"
elif [ "${_OS}" = 'mac' ]; then
[ "${_CPU}" = 'x64' ] && options="${options} darwin64-x86_64"
[ "${_CPU}" = 'a64' ] && options="${options} darwin64-arm64"
elif [ "${_OS}" = 'linux' ]; then
[ "${_CPU}" = 'x64' ] && options="${options} linux-x86_64"
[ "${_CPU}" = 'a64' ] && options="${options} linux-aarch64"
fi

options="${options} ${_LDFLAGS_GLOBAL} ${_LIBS_GLOBAL} ${_CFLAGS_GLOBAL_CMAKE} ${_CFLAGS_GLOBAL} ${_CPPFLAGS_GLOBAL}"
Expand Down

0 comments on commit 25aa145

Please sign in to comment.