From 6f60db8102eb57222962b5bae10573f3ef4d53c2 Mon Sep 17 00:00:00 2001
From: Simon McVittie <smcv@collabora.com>
Date: Thu, 17 May 2018 21:34:42 +0100
Subject: [PATCH] Make sure to only capture libelf1 and zlib1g, not the
 obsolete libelfg0

Signed-off-by: Simon McVittie <smcv@collabora.com>
---
 Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 10cc10268..4ebcec9b5 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}"
 
-- 
GitLab