File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -41,10 +41,17 @@ jobs:
4141 - name : Build zauth
4242 run : |
4343 cd libs/libzauth/libzauth-c
44- rustup target add aarch64-apple-darwin
4544 export CC=$OSXCROSS_TARGET/bin/aarch64-apple-darwin24.5-clang
45+ export CXX=$OSXCROSS_TARGET/bin/aarch64-apple-darwin24.5-clang++
46+ export AR=$OSXCROSS_TARGET/bin/aarch64-apple-darwin24.5-ar
47+ export SDKROOT=$OSXCROSS_TARGET/SDK/MacOSX${SDK_VERSION}.sdk
48+ export MACOSX_DEPLOYMENT_TARGET=11.0
49+ export CFLAGS="-isysroot $SDKROOT -arch arm64 -mmacosx-version-min=11.0"
50+ export LDFLAGS="-isysroot $SDKROOT -arch arm64"
51+ export PKG_CONFIG_ALLOW_CROSS=1
52+ export OSXCROSS_NO_INCLUDE_PATHS=1
4653 export CARGO_TARGET_AARCH64_APPLE_DARWIN_LINKER=$CC
47- cargo build --release --target aarch64-apple-darwin
54+ cargo build --release --target aarch64-apple-darwin --verbose
4855
4956 - name : List built binaries
5057 run : ls -lh libs/libzauth/libzauth-c/target/aarch64-apple-darwin/release
You can’t perform that action at this time.
0 commit comments