xinetd depends on rpc

Signed-off-by: Andreas Oeldenberger <[email protected]>
---
 net/xinetd/Makefile |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/net/xinetd/Makefile b/net/xinetd/Makefile
index 7385243..fe4618a 100644
--- a/net/xinetd/Makefile
+++ b/net/xinetd/Makefile
@@ -17,11 +17,15 @@ PKG_MD5SUM:=567382d7972613090215c6c54f9b82d9
 
 include $(INCLUDE_DIR)/package.mk
 
+TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include
+TARGET_LDFLAGS += $(LIBRPC)
+
 define Package/xinetd
   SECTION:=net
   CATEGORY:=Network
   TITLE:=A powerful and secure super-server
   URL:=http://www.xinetd.org/
+  DEPENDS:=+USE_UCLIBC:librpc
 endef
 
 define Package/xinetd/description
@@ -46,6 +50,7 @@ endef
 define Build/Compile
        $(MAKE) -C $(PKG_BUILD_DIR) \
                DESTDIR="$(PKG_INSTALL_DIR)" \
+               LDFLAGS="$(TARGET_LDFLAGS)" \
                build install
 endef
 
-- 
1.7.1

_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to