From f8c40f6151254639dee90a8e0f8c3f3522407fb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Sat, 15 Jun 2019 18:56:12 +0200 Subject: [PATCH] libunwind: i686-musl needs libucontext also MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jürgen Buchmüller --- srcpkgs/libunwind/template | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/srcpkgs/libunwind/template b/srcpkgs/libunwind/template index 4431cc62988..769366f916b 100644 --- a/srcpkgs/libunwind/template +++ b/srcpkgs/libunwind/template @@ -14,7 +14,7 @@ checksum=43997a3939b6ccdf2f669b50fdb8a4d3205374728c2923ddc2354c65260214f8 # LDFLAGS is necessary because libunwind.so itself uses getcontext/setcontext case "$XBPS_TARGET_MACHINE" in - ppc*-musl) makedepends+=" libucontext-devel"; LDFLAGS=" -lucontext" ;; + i686-musl|ppc*-musl) makedepends+=" libucontext-devel"; LDFLAGS=" -lucontext" ;; *) ;; esac @@ -27,7 +27,7 @@ pre_configure() { # it needs to be here because it's used directly in a macro in a # public header, so things using libunwind need linkage against it case "$XBPS_TARGET_MACHINE" in - ppc*-musl) + i686-musl|ppc*-musl) sed -i 's/\-lunwind/\-lunwind \-lucontext/' \ src/unwind/libunwind.pc.in ;; @@ -43,7 +43,7 @@ libunwind-devel_package() { depends="${sourcepkg}>=${version}" case "$XBPS_TARGET_MACHINE" in - ppc*-musl) depends+=" libucontext-devel" ;; + i686-musl|ppc*-musl) depends+=" libucontext-devel" ;; *) ;; esac