File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ ifeq ($(PLATFORM),windows)
5454 DEF_FILE := $(BUILD_RELEASE ) /cloudsync.def
5555else ifeq ($(PLATFORM),macos)
5656 TARGET := $(DIST_DIR ) /cloudsync.dylib
57- LDFLAGS += -dynamiclib -undefined dynamic_lookup
57+ LDFLAGS += -arch x86_64 -arch arm64 - dynamiclib -undefined dynamic_lookup
5858 # macOS-specific flags
5959 CFLAGS += -arch x86_64 -arch arm64
6060else ifeq ($(PLATFORM),android)
@@ -76,7 +76,7 @@ else ifeq ($(PLATFORM),ios)
7676else ifeq ($(PLATFORM),isim)
7777 TARGET := $(DIST_DIR ) /cloudsync.dylib
7878 SDK := -isysroot $(shell xcrun --sdk iphonesimulator --show-sdk-path) -miphonesimulator-version-min=11.0
79- LDFLAGS += -dynamiclib $(SDK )
79+ LDFLAGS += -arch x86_64 -arch arm64 - dynamiclib $(SDK )
8080 # iphonesimulator-specific flags
8181 CFLAGS += -arch x86_64 -arch arm64 $(SDK )
8282else # linux
You can’t perform that action at this time.
0 commit comments