]> git.saurik.com Git - cycript.git/blobdiff - Execute.mk
Found a memory management mistake (new Instance should not be transient) while workin...
[cycript.git] / Execute.mk
index 86c106ca999d9fa4441a48fc2c24bd6c37f9bf31..053d55f5129d6b214cffa17e5f8671da7d71c071 100644 (file)
@@ -1,14 +1,14 @@
-CY_EXECUTE :=
+CY_EXECUTE := 1
 flags += -DCY_EXECUTE
 code += sig/ffi_type.o sig/parse.o sig/copy.o
 code += Execute.o Bridge.o
 flags += -DCY_EXECUTE
 code += sig/ffi_type.o sig/parse.o sig/copy.o
 code += Execute.o Bridge.o
-library += $(apr) -lffi
+library += -lffi
 filters += C
 
 Bridge.gperf: Bridge.def Bridge.sh
        ./Bridge.sh Bridge.def >Bridge.gperf
 
 Bridge.hpp: Bridge.gperf
 filters += C
 
 Bridge.gperf: Bridge.def Bridge.sh
        ./Bridge.sh Bridge.def >Bridge.gperf
 
 Bridge.hpp: Bridge.gperf
-       gperf $< >$@
+       gperf $< | sed -e 's/defined __GNUC_STDC_INLINE__ || defined __GNUC_GNU_INLINE__/0/' >$@
 
 Bridge.o: Bridge.hpp
 
 Bridge.o: Bridge.hpp