base-files: librt should depend on libpthread, not the other way around
authorFelix Fietkau <nbd@openwrt.org>
Wed, 16 Feb 2011 02:42:24 +0000 (02:42 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 16 Feb 2011 02:42:24 +0000 (02:42 +0000)
In uClibc 0.9.32 as well as recent versions of glibc and eglibc, librt
depends on libpthread.

Signed-off-by: Mark Mentovai <mark@moxienet.com>
SVN-Revision: 25548

package/base-files/Makefile

index 82bf51a..3ccd2c7 100644 (file)
@@ -196,7 +196,6 @@ endef
 define Package/libpthread
 $(call Package/libc/Default)
   TITLE:=POSIX thread library
-  DEPENDS:= +librt
 endef
 
 define Package/libpthread/config
@@ -223,6 +222,7 @@ endef
 define Package/librt
 $(call Package/libc/Default)
   TITLE:=POSIX.1b RealTime extension library
+  DEPENDS:=+libpthread
 endef
 
 define Package/librt/config