mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-18 20:14:31 +00:00
Added DNS lresolv MacOS
This commit is contained in:
@@ -712,6 +712,7 @@ fi
|
||||
|
||||
if [ "$(uname -s)" == "Darwin" ] && [ "$IS_CROSSCOMPILE" != "yes" ]; then
|
||||
sed -i=".backup" 's/flock_type=unknown/flock_type=bsd/' ./configure
|
||||
export EXTRA_CFLAGS=-lresolv
|
||||
fi
|
||||
|
||||
RANLIB=$RANLIB ./configure $PHP_OPTIMIZATION --prefix="$DIR/bin/php5" \
|
||||
|
Reference in New Issue
Block a user