From: blogic Date: Fri, 3 Aug 2012 09:15:21 +0000 (+0000) Subject: [packages] uhub: libevent fixes X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=9e76f2bbf43690e81ddcf1b909fa0f544be55484;p=packages.git [packages] uhub: libevent fixes git-svn-id: svn://svn.openwrt.org/openwrt/packages@32955 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- 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