aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/utils/e2fsprogs/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/utils/e2fsprogs/Makefile b/package/utils/e2fsprogs/Makefile
index 3411bea740..0ef0dbca34 100644
--- a/package/utils/e2fsprogs/Makefile
+++ b/package/utils/e2fsprogs/Makefile
@@ -133,6 +133,8 @@ endef
TARGET_CFLAGS += $(FPIC) -ffunction-sections -fdata-sections
+TARGET_LDFLAGS += $(if $(CONFIG_USE_GLIBC),-lrt)
+
CONFIGURE_ARGS += \
--disable-testio-debug \
--enable-elf-shlibs \