File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ AC_DEFUN(AC_ADD_LIBPATH,[
78
78
if test "$1 " != "/usr/lib"; then
79
79
AC_EXPAND_PATH($1 , ai_p)
80
80
AC_PHP_ONCE(LIBPATH, $ai_p, [
81
- EXTRA_LIBS ="$EXTRA_LIBS -L$ai_p"
81
+ LIBS ="$LIBS -L$ai_p"
82
82
PHP_RPATHS="$PHP_RPATHS $ai_p"
83
83
] )
84
84
fi
@@ -121,7 +121,7 @@ dnl add a library to the link line
121
121
dnl
122
122
AC_DEFUN ( AC_ADD_LIBRARY ,[
123
123
AC_PHP_ONCE(LIBRARY, $1 , [
124
- EXTRA_LIBS ="$EXTRA_LIBS -l$1 "
124
+ LIBS ="$LIBS -l$1 "
125
125
] )
126
126
] )
127
127
Original file line number Diff line number Diff line change @@ -186,7 +186,7 @@ dnl as well as res_search resides in libsocket
186
186
AC_CHECK_LIB(m, sin)
187
187
188
188
AC_CHECK_LIB(bind, inet_aton, [
189
- EXTRA_LIBS = " $EXTRA_LIBS -lbind "
189
+ AC_ADD_LIBRARY(bind)
190
190
AC_DEFINE(HAVE_LIBBIND) ], [])
191
191
192
192
AC_CHECK_LIB(resolv, inet_aton)
@@ -729,7 +729,7 @@ phplibdir="`pwd`/modules"
729
729
phptempdir="` pwd` /libs"
730
730
AC_SUBST(phplibdir)
731
731
AC_SUBST(phptempdir)
732
- EXTRA_LIBS="$LIBS $EXTRA_LIBS "
732
+ EXTRA_LIBS="$LIBS "
733
733
LIBS=""
734
734
735
735
AC_SUBST(CFLAGS)
You can’t perform that action at this time.
0 commit comments