[tor-commits] [tor-browser-bundle/maint-3.6] Bug 9150: Make RPATH unavailable on Linux builds.

gk at torproject.org gk at torproject.org
Tue Sep 2 13:55:10 UTC 2014


commit 4abb92271aef3256ca1838c5c9669d73cd605641
Author: Georg Koppen <gk at torproject.org>
Date:   Tue Sep 2 15:53:55 2014 +0000

    Bug 9150: Make RPATH unavailable on Linux builds.
    
    Thanks to a patch by a cypherpunk we make now RPATH unavailable on Linux
    builds.
---
 gitian/descriptors/linux/gitian-tor.yml |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/gitian/descriptors/linux/gitian-tor.yml b/gitian/descriptors/linux/gitian-tor.yml
index fa1badb..c76e026 100644
--- a/gitian/descriptors/linux/gitian-tor.yml
+++ b/gitian/descriptors/linux/gitian-tor.yml
@@ -61,6 +61,8 @@ script: |
   cp $INSTDIR/openssl/lib/libcrypto.so.1.0.0 $INSTDIR/Tor/
   cp $INSTDIR/libevent/lib/libevent-2.0.so.5 $INSTDIR/Tor/
   chmod 700 $INSTDIR/Tor/*so*
+  # This is needed to make RPATH unavailable. See bug 9150.
+  export LD_LIBRARY_PATH="$INSTDIR/Tor/"
 
   # Building tor
   cd tor



More information about the tor-commits mailing list