summaryrefslogtreecommitdiff
path: root/librt
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2015-04-14 23:58:41 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2015-04-14 23:58:41 +0200
commit04cd09eb3a4856e9dc31112170290e3baa3bf9fb (patch)
treefadcf9c62db4478acd372d1d11c0b76b7019657f /librt
parent1df50b08dfe4133d306156483a224f5a478f7dff (diff)
librt: Fix librt.so depends for !NPTL
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'librt')
-rw-r--r--librt/Makefile.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/librt/Makefile.in b/librt/Makefile.in
index a246d00ee..e211bd2e7 100644
--- a/librt/Makefile.in
+++ b/librt/Makefile.in
@@ -61,8 +61,8 @@ lib-a-y += $(top_builddir)lib/librt.a
lib-so-y += $(top_builddir)lib/librt.so
endif
-
-ifeq ($(DOPIC)$(UCLIBC_HAS_THREADS_NATIVE),yn)
+# for NPTL we need SHARED regardless of DOPIC
+ifeq ($(if $(UCLIBC_HAS_THREADS_NATIVE),,$(DOPIC)),y)
$(top_builddir)lib/librt.so: $(top_builddir)lib/librt.a $(libc.depend)
else
$(top_builddir)lib/librt.so: $(librt_OUT)/librt_so.a $(libc.depend) $(libpthread.depend) $(libdl.depend)