]> git.saurik.com Git - ldid.git/blobdiff - make.sh
Replace Windows stat::st_mode with dirent::d_type.
[ldid.git] / make.sh
diff --git a/make.sh b/make.sh
index 30fe7b06836067a5453c1c49b013c8e89470c013..bca0983db44aec38c6f9bcd262fc7706a2100b79 100755 (executable)
--- a/make.sh
+++ b/make.sh
@@ -57,8 +57,10 @@ done
 
 set -x
 
+plist=(-Llibplist/src/.libs -lplist++)
+
 "${flags[@]}" -c -std=c++11 -o "${out}"/ldid.o ldid.cpp
-"${flags[@]}" -o "${out}"/ldid "${out}"/ldid.o "${os[@]}" -x c lookup2.c -lxml2 -lcrypto
+"${flags[@]}" -o "${out}"/ldid "${out}"/ldid.o "${os[@]}" -x c lookup2.c -lxml2 -lcrypto "${plist[@]}"
 
 if ! "${ios}"; then
     ln -sf out/ldid .