mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-06 20:07:09 +00:00
Fix for cross compiling php
This commit is contained in:
parent
58d8fc339e
commit
dc940ffcb6
@ -224,6 +224,8 @@ rm -f ./configure >> "$DIR/install.log" 2>&1
|
|||||||
if [ "$1" == "crosscompile" ]; then
|
if [ "$1" == "crosscompile" ]; then
|
||||||
sed -i 's/pthreads_working=no/pthreads_working=yes/' ./configure
|
sed -i 's/pthreads_working=no/pthreads_working=yes/' ./configure
|
||||||
export LIBS="-lpthread -ldl"
|
export LIBS="-lpthread -ldl"
|
||||||
|
CONFIGURE_FLAGS="$CONFIGURE_FLAGS --enable-opcache=no"
|
||||||
|
|
||||||
fi
|
fi
|
||||||
./configure $OPTIMIZATION--prefix="$DIR/php5" \
|
./configure $OPTIMIZATION--prefix="$DIR/php5" \
|
||||||
--exec-prefix="$DIR/php5" \
|
--exec-prefix="$DIR/php5" \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user