summaryrefslogtreecommitdiff
path: root/librt
diff options
context:
space:
mode:
Diffstat (limited to 'librt')
-rw-r--r--librt/Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/librt/Makefile.in b/librt/Makefile.in
index 5c47960d5..1def9003d 100644
--- a/librt/Makefile.in
+++ b/librt/Makefile.in
@@ -7,7 +7,7 @@
CFLAGS-librt := -DNOT_IN_libc -DIS_IN_librt $(SSP_ALL_CFLAGS)
-LDFLAGS-librt.so := $(LDFLAGS)
+LDFLAGS-librt.so := $(LDFLAGS) $(call link.asneeded,-lc)
LIBS-librt.so := $(LIBS)