File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ else ifeq ($(PLATFORM),macos)
5555 LDFLAGS += -arch $(ARCH)
5656 CFLAGS += -arch $(ARCH)
5757 endif
58- LDFLAGS += -dynamiclib -undefined dynamic_lookup
58+ LDFLAGS += -dynamiclib -undefined dynamic_lookup -headerpad_max_install_names
5959 STRIP = strip -x -S $@
6060else ifeq ($(PLATFORM),android)
6161 ifndef ARCH # Set ARCH to find Android NDK's Clang compiler, the user should set the ARCH
@@ -75,13 +75,13 @@ else ifeq ($(PLATFORM),android)
7575else ifeq ($(PLATFORM),ios)
7676 TARGET := $(DIST_DIR)/vector.dylib
7777 SDK := -isysroot $(shell xcrun --sdk iphoneos --show-sdk-path) -miphoneos-version-min=11.0
78- LDFLAGS += -dynamiclib $(SDK)
78+ LDFLAGS += -dynamiclib $(SDK) -headerpad_max_install_names
7979 CFLAGS += -arch arm64 $(SDK)
8080 STRIP = strip -x -S $@
8181else ifeq ($(PLATFORM),ios-sim)
8282 TARGET := $(DIST_DIR)/vector.dylib
8383 SDK := -isysroot $(shell xcrun --sdk iphonesimulator --show-sdk-path) -miphonesimulator-version-min=11.0
84- LDFLAGS += -arch x86_64 -arch arm64 -dynamiclib $(SDK)
84+ LDFLAGS += -arch x86_64 -arch arm64 -dynamiclib $(SDK) -headerpad_max_install_names
8585 CFLAGS += -arch x86_64 -arch arm64 $(SDK)
8686 STRIP = strip -x -S $@
8787else # linux
You can’t perform that action at this time.
0 commit comments