diff --git a/Makefile b/Makefile
index 10cc102680bf55a84c493b0509a23dcf2f75e412..4ebcec9b58f02302c249690ff70cf769f895a3e9 100644
--- a/Makefile
+++ b/Makefile
@@ -109,8 +109,8 @@ in-sysroot/install-%:
 	"relocatable-install/bin/$${DEB_HOST_MULTIARCH}-capsule-capture-libs" \
 	    --dest=_build/$*/lib \
 	    --no-glibc \
-	    "soname-match:libelf.so.*" \
-	    "soname-match:libz.so.*" \
+	    "soname:libelf.so.1" \
+	    "soname:libz.so.1" \
 	    $(NULL); \
 	cp -a --dereference _build/$*/lib/*.so.* "relocatable-install/lib/$${DEB_HOST_MULTIARCH}"