diff --git a/.github/workflows/build-native.yml b/.github/workflows/build-native.yml
index 1fae891..705e62b 100644
--- a/.github/workflows/build-native.yml
+++ b/.github/workflows/build-native.yml
@@ -64,24 +64,18 @@ jobs:
- name: Set up ARM64 cross-compilation with musl
run: |
- # Download and extract musl cross-compilation toolchain
- wget https://github.com/cross-tools/musl-cross/releases/download/20250815/aarch64-unknown-linux-musl.tar.xz
- tar -xf aarch64-unknown-linux-musl.tar.xz
- sudo mv aarch64-unknown-linux-musl /opt/
-
- # Install cmake
+ # Install build tools and the aarch64-linux-gnu cross-compiler
sudo apt update
- sudo apt install -y cmake build-essential
+ sudo apt install -y cmake build-essential gcc-aarch64-linux-gnu g++-aarch64-linux-gnu
# Create CMake toolchain file
cat > arm64-toolchain.cmake << 'EOF'
set(CMAKE_SYSTEM_NAME Linux)
set(CMAKE_SYSTEM_PROCESSOR aarch64)
- set(CMAKE_C_COMPILER /opt/aarch64-unknown-linux-musl/bin/aarch64-unknown-linux-musl-gcc)
- set(CMAKE_CXX_COMPILER /opt/aarch64-unknown-linux-musl/bin/aarch64-unknown-linux-musl-g++)
+ set(CMAKE_C_COMPILER aarch64-linux-gnu-gcc)
+ set(CMAKE_CXX_COMPILER aarch64-linux-gnu-g++)
- set(CMAKE_FIND_ROOT_PATH /opt/aarch64-unknown-linux-musl)
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
diff --git a/src/LibOQS.NET.Native/LibOQS.NET.Native.csproj b/src/LibOQS.NET.Native/LibOQS.NET.Native.csproj
index 6e7dc8e..95ea47f 100644
--- a/src/LibOQS.NET.Native/LibOQS.NET.Native.csproj
+++ b/src/LibOQS.NET.Native/LibOQS.NET.Native.csproj
@@ -6,7 +6,7 @@
enable
true
LibOQS.NET.Native
- 0.1.1
+ 0.1.2
filipw
Native P/Invoke bindings for liboqs - a C library for quantum-resistant cryptographic algorithms
https://github.com/filipw/maybe-liboqs-dotnet
diff --git a/src/LibOQS.NET/LibOQS.NET.csproj b/src/LibOQS.NET/LibOQS.NET.csproj
index 5100dd6..4948ab1 100644
--- a/src/LibOQS.NET/LibOQS.NET.csproj
+++ b/src/LibOQS.NET/LibOQS.NET.csproj
@@ -6,7 +6,7 @@
enable
true
LibOQS.NET
- 0.1.1
+ 0.1.2
filipw
A .NET wrapper for liboqs - a C library for quantum-resistant cryptographic algorithms
https://github.com/filipw/maybe-liboqs-dotnet