mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-04 00:59:51 +00:00
Added DNS lresolv MacOS
This commit is contained in:
parent
ff91113b81
commit
3184a8e7d5
@ -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" \
|
||||
|
Loading…
x
Reference in New Issue
Block a user