From b9d557ad055d51ccbce7e89f1a8bfc0a0d557d35 Mon Sep 17 00:00:00 2001 From: oreo639 Date: Wed, 2 Apr 2025 18:03:20 -0700 Subject: [PATCH] lldpd: fix musl build --- srcpkgs/lldpd/template | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/srcpkgs/lldpd/template b/srcpkgs/lldpd/template index 7fb2676706a..5d05f89002d 100644 --- a/srcpkgs/lldpd/template +++ b/srcpkgs/lldpd/template @@ -16,6 +16,10 @@ checksum=f87df3163d5e5138da901d055b384009785d1eb50fdb17a2343910fcf30a997f system_groups="_lldpd" system_accounts="_lldpd" +if [ "$XBPS_TARGET_LIBC" = "musl" ]; then + makedepends+=" musl-legacy-compat" +fi + post_install() { vsv lldpd vlicense LICENSE