mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-21 08:17:34 +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
|
||||
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" \
|
||||
|
Loading…
x
Reference in New Issue
Block a user