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 @@ -37,7 +37,7 @@ ifeq ($(PLATFORM),windows)
3737 DEF_FILE := $(BUILD_DIR ) /js.def
3838else ifeq ($(PLATFORM),macos)
3939 TARGET := $(DIST_DIR ) /js.dylib
40- LDFLAGS := -dynamiclib -undefined dynamic_lookup
40+ LDFLAGS := -arch x86_64 -arch arm64 - dynamiclib -undefined dynamic_lookup
4141 # macOS-specific flags
4242 CFLAGS += -arch x86_64 -arch arm64
4343else ifeq ($(PLATFORM),android)
@@ -59,7 +59,7 @@ else ifeq ($(PLATFORM),ios)
5959else ifeq ($(PLATFORM),isim)
6060 TARGET := $(DIST_DIR ) /js.dylib
6161 SDK := -isysroot $(shell xcrun --sdk iphonesimulator --show-sdk-path) -miphonesimulator-version-min=11.0
62- LDFLAGS := -dynamiclib $(SDK )
62+ LDFLAGS := -arch x86_64 -arch arm64 - dynamiclib $(SDK )
6363 # iphonesimulator-specific flags
6464 CFLAGS += -arch x86_64 -arch arm64 $(SDK )
6565else # linux
You can’t perform that action at this time.
0 commit comments