mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 04:13:28 +01:00
Be sure to restore LDFLAGS from LDFLAGS, not from LIBS.
svn:r5902
This commit is contained in:
parent
390bbb0a0c
commit
a69b96af02
@ -139,7 +139,7 @@ AC_CACHE_CHECK([for libevent directory], ac_cv_libevent_dir, [
|
||||
fi
|
||||
done
|
||||
LIBS="$saved_LIBS"
|
||||
LDFLAGS="$saved_LIBS"
|
||||
LDFLAGS="$saved_LDFLAGS"
|
||||
if test $le_found = no ; then
|
||||
AC_MSG_ERROR([Could not find a linkable libevent. You can specify an explicit path using --with-libevent-dir])
|
||||
fi
|
||||
@ -229,7 +229,7 @@ AC_CACHE_CHECK([for OpenSSL directory], ac_cv_openssl_dir, [
|
||||
fi
|
||||
done
|
||||
LIBS="$saved_LIBS"
|
||||
LDFLAGS="$saved_LIBS"
|
||||
LDFLAGS="$saved_LDFLAGS"
|
||||
if test $ssl_found = no ; then
|
||||
AC_MSG_ERROR([Could not find a linkable OpenSSL. You can specify an explicit path using --with-ssl-dir])
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user