From dd3616c58ed4d652471d8bed558d865c352308ad Mon Sep 17 00:00:00 2001 From: Ciro Date: Thu, 24 Nov 2022 08:16:07 -0300 Subject: [PATCH] update arm64 macos --- .github/workflows/macos_arm64.yml | 2 +- src/socketify/native/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/macos_arm64.yml b/.github/workflows/macos_arm64.yml index 07ab1ca..de5fe9d 100644 --- a/.github/workflows/macos_arm64.yml +++ b/.github/workflows/macos_arm64.yml @@ -1,4 +1,4 @@ -name: macOS Silicon Build +name: Apple Silicon Build on: workflow_dispatch jobs: build-macos: diff --git a/src/socketify/native/Makefile b/src/socketify/native/Makefile index 5b3661a..e455e4f 100644 --- a/src/socketify/native/Makefile +++ b/src/socketify/native/Makefile @@ -35,7 +35,7 @@ macos-arm64: # build CAPI + libsocketify for arm64 (cross compile) $(CXX) -stdlib=libc++ -target arm64-apple-macos11 -I ./src -I ../uWebSockets/src -I ../uWebSockets/uSockets/src -I ../uWebSockets/capi -I ../uWebSockets/uSockets/boringssl/include -DUWS_WITH_PROXY -pthread -fPIC -std=c++17 -c -O3 ./src/$(LIBRARY_NAME).cpp - $(CXX) -stdlib=libc++ -target arm64-apple-macos11 -shared -undefined dynamic_lookup -o ../$(LIBRARY_NAME)_darwin_arm64.so $(LIBRARY_NAME).o ../uWebSockets/uSockets/uSockets_darwin_arm64.a ../uWebSockets/uSockets/boringssl/arm64/ssl/libssl.a ../uWebSockets/uSockets/boringssl/arm64/crypto/libcrypto.a -flto -fPIC -lz -L /opt/homebrew/lib -luv + $(CXX) -stdlib=libc++ -target arm64-apple-macos11 -shared -undefined dynamic_lookup -o ../$(LIBRARY_NAME)_darwin_arm64.so $(LIBRARY_NAME).o ../uWebSockets/uSockets/uSockets_darwin_arm64.a ../uWebSockets/uSockets/boringssl/arm64/ssl/libssl.a ../uWebSockets/uSockets/boringssl/arm64/crypto/libcrypto.a -flto -fPIC -lz -luv macos: $(MAKE) clean