rpm: remove dependency on musl-legacy-compat

rpm doesn't depends on error.h anymore.

Closes: https://github.com/void-linux/void-packages/issues/36668
This commit is contained in:
Ismael Luceno 2023-03-23 03:05:08 +01:00 committed by classabbyamp
parent f605ffebc0
commit 6a1ebf41de

View file

@ -22,9 +22,8 @@ CFLAGS="-I${XBPS_CROSS_BASE}/${py3_inc}"
case "$XBPS_TARGET_MACHINE" in
# rpm uses _nl_msg_cat_cntr, so it needs the glibc gettext impl
# it uses <error.h> header, provided by legacy-compat
*-musl)
makedepends+=" gettext-devel musl-legacy-compat"
makedepends+=" gettext-devel"
CFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include/gettext"
LDFLAGS="-lintl"
;;