mirror of
https://github.com/php/php-src.git
synced 2026-04-19 05:51:02 +02:00
This fix prevents adding an empty -l to LIBS
This commit is contained in:
@@ -535,7 +535,9 @@ AC_DEFUN(AC_ADD_INCLUDE,[
|
||||
])
|
||||
|
||||
AC_DEFUN(PHP_X_ADD_LIBRARY,[
|
||||
ifelse($2,,$3="-l$1 [$]$3", $3="[$]$3 -l$1")
|
||||
if test -n "$1"; then
|
||||
ifelse($2,,$3="-l$1 [$]$3", $3="[$]$3 -l$1")
|
||||
fi
|
||||
])
|
||||
|
||||
dnl
|
||||
|
||||
Reference in New Issue
Block a user