]> git.saurik.com Git - ldid.git/blobdiff - make.sh
Avoid Depends: on odcctools for codesign_allocate.
[ldid.git] / make.sh
diff --git a/make.sh b/make.sh
index 6a3f530a2c3776e450f6070b10fe705c6e75f064..cbbfbb0578ed7275e95e666ee2cc3a15a645d4e9 100755 (executable)
--- a/make.sh
+++ b/make.sh
@@ -13,5 +13,8 @@ else
     flags=(g++)
 fi
 
+flags+=(-I.)
+
 set -x
-"${flags[@]}" -o ldid ldid.cpp -I. -x c lookup2.c -x c sha1.c
+"${flags[@]}" -c -std=c++11 -o ldid.o ldid.cpp
+"${flags[@]}" -o ldid ldid.o -x c lookup2.c -x c sha1.c