]> git.saurik.com Git - cycript.git/blobdiff - Darwin.mk
Moved -fPIC to base configuration.
[cycript.git] / Darwin.mk
index a36cdb428431f2c5a989b700930baca8b5584231..0d9a08383779dbcd42f9882d091999c525c21694 100644 (file)
--- a/Darwin.mk
+++ b/Darwin.mk
@@ -5,11 +5,12 @@ header += Struct.hpp ObjectiveC.hpp
 code += ObjectiveC.o Library.o
 filters += ObjC
 flags += -DCY_ATTACH -DCY_EXECUTE
-flags += -lobjc -framework CoreFoundation
-link += -framework Foundation
+link += -lobjc -framework CoreFoundation
+console += -framework Foundation
 library += -install_name /usr/lib/libcycript.$(dll)
 library += -framework Foundation -framework CFNetwork
 library += -framework JavaScriptCore -framework WebCore
+library += -lsubstrate
 
 Struct.hpp:
        $$($(target)gcc -print-prog-name=cc1obj) -print-objc-runtime-info </dev/null >$@