From 9e76f2bbf43690e81ddcf1b909fa0f544be55484 Mon Sep 17 00:00:00 2001 From: blogic Date: Fri, 3 Aug 2012 09:15:21 +0000 Subject: [PATCH] [packages] uhub: libevent fixes git-svn-id: svn://svn.openwrt.org/openwrt/packages@32955 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- net/uhub/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/net/uhub/Makefile b/net/uhub/Makefile index 5a8f5f356..2614a0ab7 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