mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2026-11-18 22:16:18 -05:00
feat: build and smoke test native Windows ARM64 packages
This commit is contained in:
8 files changed
+50
-12
No files matched your search
@@ -8,7 +8,9 @@ prefix=$(cygpath -u "$2")
|
||||
build_dir="$repo/target/openconnect-windows"
|
||||
source_dir="$repo/crates/openconnect/deps/openconnect"
|
||||
export PATH="$prefix/bin:$PATH"
|
||||
gcc -Wall -Wextra -I"$build_dir" -I"$source_dir" -I"$source_dir/json" \
|
||||
compiler=gcc
|
||||
if [[ $subsystem == clangarm64 ]]; then compiler=clang; fi
|
||||
"$compiler" -Wall -Wextra -I"$build_dir" -I"$source_dir" -I"$source_dir/json" \
|
||||
$(pkg-config --cflags gnutls libxml-2.0) \
|
||||
"$repo/crates/openconnect/tests/windows_packet_pipe.c" \
|
||||
-L"$prefix/lib" -lopenconnect -lws2_32 -o "$build_dir/test-windows-packet-pipe.exe"
|
||||
|
||||
Reference in new issue
Block a user