When openwrt toolchain uses eglibc (2.15) instead of uclibc,
authormirko <mirko@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 6 Aug 2012 11:06:54 +0000 (11:06 +0000)
committermirko <mirko@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 6 Aug 2012 11:06:54 +0000 (11:06 +0000)
commit3485d682d421285e935c8fc97e7ad1fb5728f5d4
tree28ca45bd3f03612e43df85e08c65da2aa0f03508
parent735f96fa0bddbac3fd5b56531b5823ba031ff6e5
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>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@33007 3c298f89-4303-0410-b956-a3cf2f4a3e73
libs/libevent2/Makefile