diff --git a/src/build/compile.sh b/src/build/compile.sh index ce6029df2..862b80d64 100755 --- a/src/build/compile.sh +++ b/src/build/compile.sh @@ -430,7 +430,7 @@ rm -f ./configure >> "$DIR/install.log" 2>&1 ./buildconf --force >> "$DIR/install.log" 2>&1 if [ "$IS_CROSSCOMPILE" == "yes" ]; then sed -i ".backup" 's/pthreads_working=no/pthreads_working=yes/' ./configure - export LIBS="-lpthread -ldl" + export LIBS="-lpthread -ldl -lresolv" CONFIGURE_FLAGS="$CONFIGURE_FLAGS --enable-opcache=no" fi RANLIB=$RANLIB ./configure $PHP_OPTIMIZATION--prefix="$DIR/bin/php5" \