X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/b166b11b8612a2428d7b86bd3dd27207a3f60dab..a7f2d052827c3f00290e0a80f70515d21e5cdc96:/Darwin-arm.mk?ds=sidebyside diff --git a/Darwin-arm.mk b/Darwin-arm.mk index cd3fcfb..cc97077 100644 --- a/Darwin-arm.mk +++ b/Darwin-arm.mk @@ -4,7 +4,11 @@ all += #cyrver arch := iphoneos-arm console += -framework UIKit -depends += readline libffi mobilesubstrate sqlite3-lib +depends += apr-lib readline libffi mobilesubstrate +#library += -framework CFNetwork +library += -framework WebCore +# XXX: all Darwin, maybe all device, should have this +library += -lsubstrate ldid := ldid -S entitle := ldid -Scycript.xml @@ -14,6 +18,7 @@ cyrver: Server.o -lapr-1 -lsubstrate -framework CFNetwork $(ldid) $@ -extra: +extra:: + sed -i -e '/^Depends: / s/\/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