mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-11 11:47:02 +02:00
libdex: properly quote musl in libc check
This commit is contained in:
parent
ef69a68b24
commit
1bb29729b3
1 changed files with 5 additions and 3 deletions
|
@ -24,9 +24,8 @@ checksum=98a69626aa7646ad455bea7a7f92d2a1ffa47e4559a154a1bfe98c16fa711ee1
|
|||
build_options="gir vala gtk_doc"
|
||||
build_options_default="gir vala gtk_doc"
|
||||
|
||||
if [ "$XBPS_TARGET_LIBC" = musl ]; then
|
||||
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
|
||||
makedepends+=" libucontext-devel"
|
||||
_devdepends="libucontext-devel"
|
||||
CFLAGS="-D_GNU_SOURCE"
|
||||
fi
|
||||
|
||||
|
@ -37,7 +36,10 @@ else
|
|||
fi
|
||||
|
||||
libdex-devel_package() {
|
||||
depends="${sourcepkg}-${version}_${revision} ${_devdepends} liburing-devel"
|
||||
depends="${sourcepkg}-${version}_${revision} liburing-devel"
|
||||
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
|
||||
depends+=" libucontext-devel"
|
||||
fi
|
||||
short_desc+=" - development files"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
|
|
Loading…
Add table
Reference in a new issue