OpenSSL + cURL

This commit is contained in:
Shoghi Cervantes 2014-02-16 16:44:07 +01:00
parent 9847f38a9f
commit 65940719c2

View File

@ -242,8 +242,9 @@ echo -n " compiling..."
make -j $THREADS >> "$DIR/install.log" 2>&1 make -j $THREADS >> "$DIR/install.log" 2>&1
echo -n " installing..." echo -n " installing..."
make install >> "$DIR/install.log" 2>&1 make install >> "$DIR/install.log" 2>&1
mv "$DIR/install_data/php/ext/openssl/include/openssl/"* "$DIR/install_data/php/ext/openssl/include/" echo -n " cleaning..."
cd .. cd ..
rm -r -f ./openssh
echo " done!" echo " done!"
if [ "$(uname -s)" == "Darwin" ] && [ "$1" != "crosscompile" ] && [ "$2" != "curl" ]; then if [ "$(uname -s)" == "Darwin" ] && [ "$1" != "crosscompile" ] && [ "$2" != "curl" ]; then
@ -258,7 +259,7 @@ else
if [ ! -f ./configure ]; then if [ ! -f ./configure ]; then
./buildconf --force >> "$DIR/install.log" 2>&1 ./buildconf --force >> "$DIR/install.log" 2>&1
fi fi
PKG_CONFIG_PATH="$DIR/install_data/php/ext/openssl/lib/pkgconfig" ./configure --disable-dependency-tracking \ ./configure --disable-dependency-tracking \
--enable-ipv6 \ --enable-ipv6 \
--enable-optimize \ --enable-optimize \
--enable-http \ --enable-http \
@ -276,7 +277,7 @@ else
--disable-ldaps \ --disable-ldaps \
--without-libidn \ --without-libidn \
--with-zlib="$DIR/install_data/php/ext/zlib" \ --with-zlib="$DIR/install_data/php/ext/zlib" \
--with-ssl="$DIR/install_data/php/ext/openssl" \ --with-ssl="static,$DIR/install_data/php/ext/openssl" \
--enable-threaded-resolver \ --enable-threaded-resolver \
--prefix="$DIR/install_data/php/ext/curl" \ --prefix="$DIR/install_data/php/ext/curl" \
--disable-shared \ --disable-shared \