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
CATEGORY:=Libraries
TITLE:=Event notification
URL:=http://www.monkey.org/~provos/libevent/
+ DEPENDS:=+USE_EGLIBC:librt
endef
define Package/libevent2/Default/description
define Package/libevent2-openssl
$(call Package/libevent2/Default)
TITLE+= OpenSSL library (version 2.0)
- DEPENDS:=+libopenssl
+ DEPENDS+=+libopenssl
endef
define Package/libevent2-openssl/description
define Package/libevent2-pthreads
$(call Package/libevent2/Default)
TITLE+= Pthreads library (version 2.0)
- DEPENDS:=+libpthread
+ DEPENDS+=+libpthread
endef
define Package/libevent2-pthreads/description