From 3184a8e7d5a5ecbafbba1b2c6c7b6a838251020d Mon Sep 17 00:00:00 2001 From: Shoghi Cervantes Date: Sun, 29 Jun 2014 18:24:09 +0200 Subject: [PATCH] Added DNS lresolv MacOS --- src/build/compile.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/src/build/compile.sh b/src/build/compile.sh index 8cdfc18a1..e80291cf6 100755 --- a/src/build/compile.sh +++ b/src/build/compile.sh @@ -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" \