summary refs log tree commit diff
path: root/debug/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'debug/Makefile')
-rw-r--r--debug/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/debug/Makefile b/debug/Makefile
index 0826b9983a..ada992eb2c 100644
--- a/debug/Makefile
+++ b/debug/Makefile
@@ -44,7 +44,8 @@ include ../Rules
 
 $(objpfx)catchsegv: catchsegv.sh $(common-objpfx)soversions.mk \
 		    $(common-objpfx)config.make
-	sed 's/@VERSION@/$(version)/;s/@SLIB@/$(slibdir)/' $< > $@.new
+	sed -e 's|@VERSION@|$(version)|' -e 's|@SLIB@|$(slibdir)|' \
+	    -e 's|@SOVER@|$(libSegFault.so-version)|' $< > $@.new
 	chmod 555 $@.new
 	mv -f $@.new $@