[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [Git][tpo/applications/tor-browser-build][maint-14.0] Bug 41328: Exclude tor dependencies from LD_LIBRARY_PATH.



Title: GitLab

Pier Angelo Vendrame pushed to branch maint-14.0 at The Tor Project / Applications / tor-browser-build

Commits:

  • 3451c57c
    by Pier Angelo Vendrame at 2025-01-28T16:46:30+01:00
    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.
    

1 changed file:

Changes:

  • projects/firefox/start-firefox
    ... ... @@ -17,9 +17,6 @@ add_LD_LIBRARY_PATH() {
    17 17
     if [ $? -ne 0 ]; then
    
    18 18
       add_LD_LIBRARY_PATH "$basedir/[% IF c("var/tor-browser") -%]TorBrowser/Tor/[% END -%]libstdc++/"
    
    19 19
     fi
    
    20
    -[% IF c("var/tor-browser") -%]
    
    21
    -add_LD_LIBRARY_PATH "$basedir/TorBrowser/Tor/"
    
    22
    -[% END -%]
    
    23 20
     export LD_LIBRARY_PATH
    
    24 21
     
    
    25 22
     exec "$basedir/[% c("var/exe_name") %].real" "$@"

  • _______________________________________________
    tor-commits mailing list -- tor-commits@xxxxxxxxxxxxxxxxxxxx
    To unsubscribe send an email to tor-commits-leave@xxxxxxxxxxxxxxxxxxxx