#include <openssl/pkcs12.h>
#include <openssl/sha.h>
-#include <plist/plist.h>
+#include <plist/plist++.h>
#include "ldid.hpp"
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 .
--- /dev/null
+#!/bin/bash
+./configure CC='clang -mmacosx-version-min=10.4 -arch i386 -arch x86_64' CXX='clang++ -mmacosx-version-min=10.4 -arch i386 -arch x86_64' CPP='clang -E' CXXCPP='clang++ -E' libxml2_LIBS=-lxml2 libxml2_CFLAGS=-I/usr/include/libxml2 --enable-static --disable-shared