summaryrefslogtreecommitdiff
path: root/make.sh
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2008-09-17 13:11:13 +0000
committerJay Freeman (saurik) <saurik@saurik.com>2008-09-17 13:11:13 +0000
commit25f84761885588cba0e91b39065b911006d99fc5 (patch)
tree9c0344f3c437918ad65b44719a57b5c061df7bac /make.sh
New MobileSubstrate (awesome).
Diffstat (limited to 'make.sh')
-rwxr-xr-xmake.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/make.sh b/make.sh
new file mode 100755
index 0000000..79d3ffc
--- /dev/null
+++ b/make.sh
@@ -0,0 +1,5 @@
+#!/bin/bash
+flags=(-O2 -g0 -fno-exceptions -fvisibility=hidden)
+cycc -i2.0 -oMobileSafety.dylib -- "${flags[@]}" -dynamiclib MobileSafety.mm \
+ -framework CoreFoundation -framework Foundation \
+ -L. -lsubstrate -lobjc -init _MSSafety