summaryrefslogtreecommitdiffstats
path: root/base/root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'base/root/scripts')
-rwxr-xr-xbase/root/scripts/setup_segv_handler.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/base/root/scripts/setup_segv_handler.sh b/base/root/scripts/setup_segv_handler.sh
index 7645cc8..763f22d 100755
--- a/base/root/scripts/setup_segv_handler.sh
+++ b/base/root/scripts/setup_segv_handler.sh
@@ -78,6 +78,8 @@ gcc -m32 -shared -fPIC -o /usr/local/lib/segv_handler32.so /usr/local/src/segv_h
echo "Modifying /lib/ld-2.5.so for LD_PRELO32"
sed -e 's@/etc/ld.so.preload@/etc/ld.so.prelo32@g' -i.orig /lib/ld-2.5.so
+# we need to remove the original to stop ldconfig enabling it
+rm -f /lib/ld-2.5.so.orig
echo "Creating /etc/ld.so.prelo32"
echo "/usr/local/lib/segv_handler32.so" > /etc/ld.so.prelo32