libunwind: i686-musl needs libucontext also
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
parent
c4b722f9c2
commit
f8c40f6151
1 changed files with 3 additions and 3 deletions
|
@ -14,7 +14,7 @@ checksum=43997a3939b6ccdf2f669b50fdb8a4d3205374728c2923ddc2354c65260214f8
|
||||||
|
|
||||||
# LDFLAGS is necessary because libunwind.so itself uses getcontext/setcontext
|
# LDFLAGS is necessary because libunwind.so itself uses getcontext/setcontext
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
ppc*-musl) makedepends+=" libucontext-devel"; LDFLAGS=" -lucontext" ;;
|
i686-musl|ppc*-musl) makedepends+=" libucontext-devel"; LDFLAGS=" -lucontext" ;;
|
||||||
*) ;;
|
*) ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
@ -27,7 +27,7 @@ pre_configure() {
|
||||||
# it needs to be here because it's used directly in a macro in a
|
# 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
|
# public header, so things using libunwind need linkage against it
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
ppc*-musl)
|
i686-musl|ppc*-musl)
|
||||||
sed -i 's/\-lunwind/\-lunwind \-lucontext/' \
|
sed -i 's/\-lunwind/\-lunwind \-lucontext/' \
|
||||||
src/unwind/libunwind.pc.in
|
src/unwind/libunwind.pc.in
|
||||||
;;
|
;;
|
||||||
|
@ -43,7 +43,7 @@ libunwind-devel_package() {
|
||||||
depends="${sourcepkg}>=${version}"
|
depends="${sourcepkg}>=${version}"
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
ppc*-musl) depends+=" libucontext-devel" ;;
|
i686-musl|ppc*-musl) depends+=" libucontext-devel" ;;
|
||||||
*) ;;
|
*) ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue