Fix for cross compiling php

This commit is contained in:
Brandon V 2013-09-01 13:51:40 -05:00
parent 58d8fc339e
commit dc940ffcb6

View File

@ -224,6 +224,8 @@ rm -f ./configure >> "$DIR/install.log" 2>&1
if [ "$1" == "crosscompile" ]; then
sed -i 's/pthreads_working=no/pthreads_working=yes/' ./configure
export LIBS="-lpthread -ldl"
CONFIGURE_FLAGS="$CONFIGURE_FLAGS --enable-opcache=no"
fi
./configure $OPTIMIZATION--prefix="$DIR/php5" \
--exec-prefix="$DIR/php5" \