瀏覽代碼

Be sure to restore LDFLAGS from LDFLAGS, not from LIBS.

svn:r5902
Nick Mathewson 19 年之前
父節點
當前提交
a69b96af02
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      configure.in

+ 2 - 2
configure.in

@@ -139,7 +139,7 @@ AC_CACHE_CHECK([for libevent directory], ac_cv_libevent_dir, [
     fi
     fi
   done
   done
   LIBS="$saved_LIBS"
   LIBS="$saved_LIBS"
-  LDFLAGS="$saved_LIBS"
+  LDFLAGS="$saved_LDFLAGS"
   if test $le_found = no ; then
   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])
     AC_MSG_ERROR([Could not find a linkable libevent. You can specify an explicit path using --with-libevent-dir])
   fi
   fi
@@ -229,7 +229,7 @@ AC_CACHE_CHECK([for OpenSSL directory], ac_cv_openssl_dir, [
     fi
     fi
   done
   done
   LIBS="$saved_LIBS"
   LIBS="$saved_LIBS"
-  LDFLAGS="$saved_LIBS"
+  LDFLAGS="$saved_LDFLAGS"
   if test $ssl_found = no ; then
   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])
     AC_MSG_ERROR([Could not find a linkable OpenSSL. You can specify an explicit path using --with-ssl-dir])
   fi
   fi