Verified Commit b7c816f8 authored by Pier Angelo Vendrame's avatar Pier Angelo Vendrame 🎃
Browse files

Bug 41328: Exclude tor dependencies from LD_LIBRARY_PATH.

We discovered in tor-browser#43326 that adding our OpenSSL to
LD_LIBRARY_PATH might cause the browser not to work in some distros.
So, we decided to add them to LD_LIBRARY_PATH only for the tor daemon,
instead.
parent 8a16e82b
Loading
Loading
Loading
Loading
+0 −3
Changes for projects/firefox/start-firefox: 0 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -17,9 +17,6 @@ add_LD_LIBRARY_PATH() {
if [ $? -ne 0 ]; then
  add_LD_LIBRARY_PATH "$basedir/[% IF c("var/tor-browser") -%]TorBrowser/Tor/[% END -%]libstdc++/"
fi
[% IF c("var/tor-browser") -%]
add_LD_LIBRARY_PATH "$basedir/TorBrowser/Tor/"
[% END -%]
export LD_LIBRARY_PATH

exec "$basedir/[% c("var/exe_name") %].real" "$@"