global: change all instances of USE_EGLIBC to USE_GLIBC
[packages.git] / net / uhub / Makefile
index 5a8f5f3..9c92151 100644 (file)
@@ -21,7 +21,7 @@ define Package/uhub
   SUBMENU:=P2P
   SECTION:=net
   CATEGORY:=Network
-  DEPENDS:=+libevent2 +USE_EGLIBC:librt
+  DEPENDS:=+libevent
   TITLE:=High performance ADC hub
   URL:=http://www.extatic.org/uhub/
 endef
@@ -32,7 +32,10 @@ define Package/uhub/description
         on high-end servers, or a small private hub on embedded hardware.
 endef
 
-ifdef CONFIG_USE_EGLIBC
+TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include/libevent
+TARGET_LDFLAGS = -L$(STAGING_DIR)/usr/lib/libevent -L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib
+
+ifdef CONFIG_USE_GLIBC
 TARGET_LDFLAGS += -lrt
 endif