]> git.saurik.com Git - cycript.git/blobdiff - Execute.mk
Variable arguments and work with make even if make isn't GNU make when GNU make is...
[cycript.git] / Execute.mk
index 130355fd7f57006c1ad683947630c53283691761..053d55f5129d6b214cffa17e5f8671da7d71c071 100644 (file)
@@ -2,13 +2,13 @@ CY_EXECUTE := 1
 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
-       gperf $< >$@
+       gperf $< | sed -e 's/defined __GNUC_STDC_INLINE__ || defined __GNUC_GNU_INLINE__/0/' >$@
 
 Bridge.o: Bridge.hpp