[git commit] librt: Fix librt.so depends for !NPTL
Bernhard Reutner-Fischer
rep.dot.nop at gmail.com
Tue Apr 14 21:58:41 UTC 2015
commit: http://git.uclibc.org/uClibc/commit/?id=04cd09eb3a4856e9dc31112170290e3baa3bf9fb
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
librt/Makefile.in | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/librt/Makefile.in b/librt/Makefile.in
index a246d00..e211bd2 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)
More information about the uClibc-cvs
mailing list