[tor-commits] [tor-browser-build/master] Bug 27101: fix tor build issue with rust enabled

gk at torproject.org gk at torproject.org
Mon Aug 13 14:05:26 UTC 2018


commit 3ba2bd456ac69f81ffbf5f0baa403ad005aeff34
Author: Nicolas Vigier <boklm at torproject.org>
Date:   Mon Aug 13 15:12:07 2018 +0200

    Bug 27101: fix tor build issue with rust enabled
    
    Fix build issue introduced by the fix for #25485.
---
 projects/tor/build | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/projects/tor/build b/projects/tor/build
index 89a5418..c8f63bc 100644
--- a/projects/tor/build
+++ b/projects/tor/build
@@ -57,6 +57,8 @@ openssldir=/var/tmp/dist/openssl
   chmod 700 "$distdir"/Tor/libstdc++/*.so*
   # This is needed to make RPATH unavailable. See bug 9150.
   export LD_LIBRARY_PATH="$distdir/Tor/"
+  # Add libstdc++ to LD_LIBRARY_PATH to avoid rust link issue (bug 27101)
+  export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$distdir/Tor/libstdc++/"
 [% END %]
 
 [% IF c("var/osx") %]



More information about the tor-commits mailing list