]> git.saurik.com Git - cycript.git/blobdiff - Darwin-arm.mk
Added apr-lib Depends on iphoneos-sys, refactored CYUTF16String support (much more...
[cycript.git] / Darwin-arm.mk
index cd3fcfb119981d406bcb932de6c88e80abc7ae09..3ec4c811a18c5aeb098504456a4ac0daaa9489e9 100644 (file)
@@ -4,7 +4,11 @@ all += #cyrver
 
 arch := iphoneos-arm
 console += -framework UIKit
-depends += readline libffi mobilesubstrate sqlite3-lib
+depends += apr-lib readline libffi mobilesubstrate sqlite3-lib
+#library += -framework CFNetwork
+library += -framework WebCore
+# XXX: all Darwin, maybe all device, should have this
+library += -lsubstrate
 
 ldid := ldid -S
 entitle := ldid -Scycript.xml
@@ -15,5 +19,6 @@ cyrver: Server.o
        $(ldid) $@
 
 extra:
+       sed -i -e '/^Depends: / s/\<mobilesubstrate\>/mobilesubstrate (>= 0.9.3072)/g' package/DEBIAN/control
        #mkdir -p package/System/Library/LaunchDaemons
-       #cp -a com.saurik.Cyrver.plist package/System/Library/LaunchDaemons
+       #cp -pR com.saurik.Cyrver.plist package/System/Library/LaunchDaemons