From 62c50a2ab0b42b836cfbf4c649cf676fe6254725 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 28 Feb 2016 09:35:45 +0100 Subject: libevent: update to latest, fix static linking --- package/libevent/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/package/libevent/Makefile b/package/libevent/Makefile index cf271dbcf..b5d932834 100644 --- a/package/libevent/Makefile +++ b/package/libevent/Makefile @@ -4,13 +4,13 @@ include $(ADK_TOPDIR)/rules.mk PKG_NAME:= libevent -PKG_VERSION:= 2.0.21 +PKG_VERSION:= 2.0.22 PKG_RELEASE:= 1 -PKG_HASH:= 22a530a8a5ba1cb9c080cba033206b17dacd21437762155c6d30ee6469f574f5 +PKG_HASH:= 71c2c49f0adadacfdbe6332a372c38cf9c8b7895bb73dabeaa53cdcc1d4e1fa3 PKG_DESCR:= event notification library for event-driven network servers PKG_SECTION:= libs/net PKG_URL:= http://libevent.org/ -PKG_SITES:= https://github.com/downloads/libevent/libevent/ +PKG_SITES:= https://github.com/libevent/libevent/releases/download/release-$(PKG_VERSION)-stable/ PKG_OPTS:= dev DISTFILES:= $(PKG_NAME)-$(PKG_VERSION)-stable.tar.gz @@ -20,6 +20,8 @@ include $(ADK_TOPDIR)/mk/package.mk $(eval $(call PKG_template,LIBEVENT,libevent,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS})) +MAKE_FLAGS+= LDFLAGS="$(TARGET_LDFLAGS) -all-static" + libevent-install: $(INSTALL_DIR) $(IDIR_LIBEVENT)/usr/lib $(CP) $(WRKINST)/usr/lib/libevent*.so* $(IDIR_LIBEVENT)/usr/lib -- cgit v1.2.3