base-files: librt should depend on libpthread, not the other way around

In uClibc 0.9.32 as well as recent versions of glibc and eglibc, librt
depends on libpthread.

Signed-off-by: Mark Mentovai <[email protected]>

---

Index: package/base-files/Makefile
===================================================================
--- package/base-files/Makefile (revision 25547)
+++ package/base-files/Makefile (working copy)
@@ -196,7 +196,6 @@
 define Package/libpthread
 $(call Package/libc/Default)
   TITLE:=POSIX thread library
-  DEPENDS:= +librt
 endef

 define Package/libpthread/config
@@ -223,6 +222,7 @@
 define Package/librt
 $(call Package/libc/Default)
   TITLE:=POSIX.1b RealTime extension library
+  DEPENDS:=+libpthread
 endef

 define Package/librt/config
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to