mirror of https://github.com/tstack/lnav.git
if curl-config --static-libs returns nothing, use the regular --libs option
This commit is contained in:
parent
47230920a1
commit
6e0026dabc
|
@ -129,6 +129,9 @@ AC_DEFUN([LIBCURL_CHECK_CONFIG],
|
|||
if test x"$LIBCURL" = "x" ; then
|
||||
if $5; then
|
||||
LIBCURL=`$_libcurl_config --static-libs`
|
||||
if test x"$LIBCURL" = "x"; then
|
||||
LIBCURL=`$_libcurl_config --libs`
|
||||
fi
|
||||
else
|
||||
LIBCURL=`$_libcurl_config --libs`
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue