From 0aeeae8e094867275e305d2e2de7089ddaf23bc8 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Wed, 18 Nov 2015 00:22:04 -0800 Subject: [PATCH] Avoid leaking lots of symbols into static library. --- apple.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apple.mk b/apple.mk index cecf384..429d4a4 100644 --- a/apple.mk +++ b/apple.mk @@ -154,7 +154,7 @@ Cycript.lib/libcycript-sim.dylib: build.sim-i386/.libs/libcycript.dylib build.si libcycript-%.o: build.%/.libs/libcycript.a xcode.map @mkdir -p $(dir $@) - ld -r -arch $$($(lipo) -detailed_info $< | sed -e '/^Non-fat file: / ! d; s/.*: //') -o $@ -all_load -exported_symbols_list xcode.map $< libffi.a + ld -r -arch $$($(lipo) -detailed_info $< | sed -e '/^Non-fat file: / ! d; s/.*: //') -o $@ -all_load -exported_symbols_list xcode.map -x $< libffi.a libcycript-ios.o: libcycript-ios-armv6.o libcycript-ios-armv7.o libcycript-ios-armv7s.o libcycript-ios-arm64.o libcycript-sim-i386.o libcycript-sim-x86_64.o $(lipo) -create -output $@ $^ -- 2.47.2