aboutsummaryrefslogtreecommitdiff
path: root/package/elfutils/elfutils.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/elfutils/elfutils.mk')
-rw-r--r--package/elfutils/elfutils.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/elfutils/elfutils.mk b/package/elfutils/elfutils.mk
index ea54862870..00d247e584 100644
--- a/package/elfutils/elfutils.mk
+++ b/package/elfutils/elfutils.mk
@@ -43,6 +43,11 @@ ELFUTILS_CONF_ENV += \
ELFUTILS_LDFLAGS = $(TARGET_LDFLAGS) \
$(TARGET_NLS_LIBS)
+ifeq ($(BR2_TOOLCHAIN_USES_GLIBC),)
+ELFUTILS_DEPENDENCIES += musl-fts
+ELFUTILS_LDFLAGS += -lfts
+endif
+
ELFUTILS_CONF_ENV += \
LDFLAGS="$(ELFUTILS_LDFLAGS)"