From: John Crispin Date: Fri, 3 Aug 2012 09:15:21 +0000 (+0000) Subject: [packages] uhub: libevent fixes X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=69b6a0cf2fa04d917aa11b035dfe38575e94e8b4;p=openwrt%2Fsvn-archive%2Farchive.git [packages] uhub: libevent fixes SVN-Revision: 32955 --- diff --git a/net/uhub/Makefile b/net/uhub/Makefile index 5a8f5f356e..2614a0ab7b 100644 --- a/net/uhub/Makefile +++ b/net/uhub/Makefile @@ -21,7 +21,7 @@ define Package/uhub SUBMENU:=P2P SECTION:=net CATEGORY:=Network - DEPENDS:=+libevent2 +USE_EGLIBC:librt + DEPENDS:=+libevent +USE_EGLIBC:librt TITLE:=High performance ADC hub URL:=http://www.extatic.org/uhub/ endef @@ -32,6 +32,9 @@ define Package/uhub/description on high-end servers, or a small private hub on embedded hardware. endef +TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include/libevent +TARGET_LDFLAGS += -L$(STAGING_DIR)/usr/lib/libevent + ifdef CONFIG_USE_EGLIBC TARGET_LDFLAGS += -lrt endif