[packages] uhub: libevent fixes

git-svn-id: svn://svn.openwrt.org/openwrt/packages@32955 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
blogic 2012-08-03 09:15:21 +00:00
parent 306b2852ad
commit 9e76f2bbf4

View File

@ -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