mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-08 04:38:35 +00:00
Added -lresolv
This commit is contained in:
parent
8c02555a8d
commit
a74f5809c7
@ -430,7 +430,7 @@ rm -f ./configure >> "$DIR/install.log" 2>&1
|
|||||||
./buildconf --force >> "$DIR/install.log" 2>&1
|
./buildconf --force >> "$DIR/install.log" 2>&1
|
||||||
if [ "$IS_CROSSCOMPILE" == "yes" ]; then
|
if [ "$IS_CROSSCOMPILE" == "yes" ]; then
|
||||||
sed -i ".backup" 's/pthreads_working=no/pthreads_working=yes/' ./configure
|
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"
|
CONFIGURE_FLAGS="$CONFIGURE_FLAGS --enable-opcache=no"
|
||||||
fi
|
fi
|
||||||
RANLIB=$RANLIB ./configure $PHP_OPTIMIZATION--prefix="$DIR/bin/php5" \
|
RANLIB=$RANLIB ./configure $PHP_OPTIMIZATION--prefix="$DIR/bin/php5" \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user