When openwrt toolchain uses eglibc (2.15) instead of uclibc,
authorMirko Vogt <mirko@openwrt.org>
Mon, 6 Aug 2012 11:06:54 +0000 (11:06 +0000)
committerMirko Vogt <mirko@openwrt.org>
Mon, 6 Aug 2012 11:06:54 +0000 (11:06 +0000)
commit390113e99b6bc28e0e4e92145f9425acf01986e1
tree28ca45bd3f03612e43df85e08c65da2aa0f03508
parent8c890922814d7b31d208b39bd68df18d75373c21
When openwrt toolchain uses eglibc (2.15) instead of uclibc,
libevent2 build fails to following error:

Package libevent2 is missing dependencies for the following libraries:
librt.so.1

Fix is to define
DEPENDS:=+USE_EGLIBC:librt
which adds the librt dependency only if the eglibc is used by toolchain.
Patch has been tested by building the libevent2 both with the the eglibc and
uclibc  openwrt toolchains.

Signed-off-by: Mika Laitio <mika.laitio@nokia.com>
SVN-Revision: 33007
libs/libevent2/Makefile