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

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



commit 29c156d5085d2c186cf6f0cc12eba45dcea8992e
Author: Georg Koppen <gk@xxxxxxxxxxxxxx>
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

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits