Skip to content
Snippets Groups Projects
Commit a4f20751 authored by Nick Mathewson's avatar Nick Mathewson :game_die:
Browse files

Merge remote-tracking branch 'isis/bug25341' into ticket25341_merged_v2

parents a8df39e9 af3e5bed
No related branches found
No related tags found
No related merge requests found
...@@ -31,9 +31,7 @@ TESTING_TOR_BINARY=$(top_builddir)/src/app/tor$(EXEEXT) ...@@ -31,9 +31,7 @@ TESTING_TOR_BINARY=$(top_builddir)/src/app/tor$(EXEEXT)
endif endif
if USE_RUST if USE_RUST
## this MUST be $(), otherwise am__DEPENDENCIES will not track it rust_ldadd=$(top_builddir)/$(TOR_RUST_LIB_PATH)
rust_ldadd=$(top_builddir)/$(TOR_RUST_LIB_PATH) \
$(TOR_RUST_EXTRA_LIBS)
else else
rust_ldadd= rust_ldadd=
endif endif
......
...@@ -503,15 +503,6 @@ if test "x$enable_rust" = "xyes"; then ...@@ -503,15 +503,6 @@ if test "x$enable_rust" = "xyes"; then
fi fi
fi fi
dnl This is a workaround for #46797
dnl (a.k.a https://github.com/rust-lang/rust/issues/46797 ). Once the
dnl upstream bug is fixed, we can remove this workaround.
case "$host_os" in
darwin*)
TOR_RUST_EXTRA_LIBS="-lresolv"
;;
esac
dnl For now both MSVC and MinGW rust libraries will output static libs with dnl For now both MSVC and MinGW rust libraries will output static libs with
dnl the MSVC naming convention. dnl the MSVC naming convention.
if test "$bwin32" = "true"; then if test "$bwin32" = "true"; then
...@@ -556,8 +547,6 @@ if test "x$enable_rust" = "xyes"; then ...@@ -556,8 +547,6 @@ if test "x$enable_rust" = "xyes"; then
AC_MSG_RESULT([$RUSTC_VERSION]) AC_MSG_RESULT([$RUSTC_VERSION])
fi fi
AC_SUBST(TOR_RUST_EXTRA_LIBS)
AC_SEARCH_LIBS(socket, [socket network]) AC_SEARCH_LIBS(socket, [socket network])
AC_SEARCH_LIBS(gethostbyname, [nsl]) AC_SEARCH_LIBS(gethostbyname, [nsl])
AC_SEARCH_LIBS(dlopen, [dl]) AC_SEARCH_LIBS(dlopen, [dl])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment