When openwrt toolchain uses eglibc (2.15) instead of uclibc, libevent2 build fails...
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)
commit1a4c1f0886cc3506aab74f75508fbfdd9fe99e41
tree0b88550a18e66b7c847bf3f729f2cc39e73fe8b8
parent19089377e77fe1727cb284e8141f593d5f8df121
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