Skip to content
Snippets Groups Projects
Unverified Commit fe7d1b4b authored by boklm's avatar boklm
Browse files

Bug 24842: include libasan.so.2 and libubsan.so.0 in debug builds

parent ea4d7828
No related branches found
No related tags found
No related merge requests found
......@@ -44,6 +44,10 @@ openssldir=/var/tmp/dist/openssl
# the libstdc++ into the directory with the libs tor depends on, too. See bug
# 13359 for further details.
cp /var/tmp/dist/gcc/[% c("var/libdir") %]/libstdc++.so.6 "$distdir/Tor/"
[% IF c("var/asan") -%]
cp /var/tmp/dist/gcc/[% c("var/libdir") %]/libasan.so.2 "$distdir/Tor/"
cp /var/tmp/dist/gcc/[% c("var/libdir") %]/libubsan.so.0 "$distdir/Tor/"
[% END -%]
chmod 700 "$distdir"/Tor/*.so*
# This is needed to make RPATH unavailable. See bug 9150.
export LD_LIBRARY_PATH="$distdir/Tor/"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment