rsyslog: needs musl-legacy-compat for *-musl targets

This commit is contained in:
Jürgen Buchmüller 2020-01-29 23:04:32 +01:00
parent 6ae8c3f968
commit 978f50f4ad

View file

@ -24,6 +24,10 @@ make_dirs="/etc/rsyslog.d 0755 root root"
lib32disabled=yes lib32disabled=yes
disable_parallel_build=yes disable_parallel_build=yes
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
makedepends+=" musl-legacy-compat"
fi
pre_configure() { pre_configure() {
if [ "$CROSS_BUILD" ]; then if [ "$CROSS_BUILD" ]; then
vsed -e "s,\`\$PG_CONFIG --libdir\`,\"$XBPS_CROSS_BASE/usr/lib\",g" -i configure vsed -e "s,\`\$PG_CONFIG --libdir\`,\"$XBPS_CROSS_BASE/usr/lib\",g" -i configure