From: nbd Date: Wed, 16 Feb 2011 02:42:24 +0000 (+0000) Subject: base-files: librt should depend on libpthread, not the other way around X-Git-Url: https://git.archive.openwrt.org/?p=openwrt.git;a=commitdiff_plain;h=cac91fedd54a6492cd1a93d69d3d37945e14e287 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25548 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/package/base-files/Makefile b/package/base-files/Makefile index 82bf51a2bd..3ccd2c7f4b 100644 --- a/package/base-files/Makefile +++ b/package/base-files/Makefile @@ -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