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

gk at torproject.org gk at torproject.org
Tue Sep 2 13:51:19 UTC 2014


commit 29c156d5085d2c186cf6f0cc12eba45dcea8992e
Author: Georg Koppen <gk at torproject.org>
Date:   Tue Sep 2 15:49:19 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 277a8e4..bb99d02 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 tbb-commits mailing list