From: Martin Willi Date: Wed, 29 May 2013 12:50:47 +0000 (+0200) Subject: xpc: use -idirafter to build against openssl headers from /usr/include X-Git-Tag: 5.1.0rc1~25^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7f1adbe94e84d2e76430cf354084af0e296dbeb5;p=thirdparty%2Fstrongswan.git xpc: use -idirafter to build against openssl headers from /usr/include --- diff --git a/src/frontends/osx/README.md b/src/frontends/osx/README.md index ccb46ab9dc..98cd7221b1 100644 --- a/src/frontends/osx/README.md +++ b/src/frontends/osx/README.md @@ -22,10 +22,10 @@ needed to run the built App. 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: - LDFLAGS="-all_load" \ - CFLAGS="-I/usr/include -DOPENSSL_NO_CMS -O2 -Wall -Wno-format -Wno-pointer-sign" \ - ./configure --prefix=/opt/local --enable-monolithic \ - --disable-shared --enable-static --disable-defaults \ + LDFLAGS="-all_load -L/opt/local/lib" \ + CFLAGS="-idirafter /opt/local/include -O2 -Wall -Wno-format -Wno-pointer-sign" + ./configure --enable-monolithic --disable-shared --enable-static \ + --disable-defaults \ --enable-openssl --enable-kernel-pfkey --enable-kernel-pfroute \ --enable-eap-mschapv2 --enable-eap-identity --enable-nonce \ --enable-random --enable-pkcs1 --enable-pem --enable-socket-default \