xpc: use -idirafter to build against openssl headers from /usr/include

This commit is contained in:
Martin Willi
2013-07-18 12:17:56 +02:00
parent 06e8712cb3
commit 7f1adbe94e
+4 -4
View File
@@ -22,10 +22,10 @@ needed to run the built App.
Before building the Xcode project, the strongSwan base tree must be built using Before building the Xcode project, the strongSwan base tree must be built using
a monolithic and static build. This can be achieved on OS X by using: a monolithic and static build. This can be achieved on OS X by using:
LDFLAGS="-all_load" \ LDFLAGS="-all_load -L/opt/local/lib" \
CFLAGS="-I/usr/include -DOPENSSL_NO_CMS -O2 -Wall -Wno-format -Wno-pointer-sign" \ CFLAGS="-idirafter /opt/local/include -O2 -Wall -Wno-format -Wno-pointer-sign"
./configure --prefix=/opt/local --enable-monolithic \ ./configure --enable-monolithic --disable-shared --enable-static \
--disable-shared --enable-static --disable-defaults \ --disable-defaults \
--enable-openssl --enable-kernel-pfkey --enable-kernel-pfroute \ --enable-openssl --enable-kernel-pfkey --enable-kernel-pfroute \
--enable-eap-mschapv2 --enable-eap-identity --enable-nonce \ --enable-eap-mschapv2 --enable-eap-identity --enable-nonce \
--enable-random --enable-pkcs1 --enable-pem --enable-socket-default \ --enable-random --enable-pkcs1 --enable-pem --enable-socket-default \