From: Felix Fietkau Date: Sun, 13 Feb 2011 01:45:26 +0000 (+0000) Subject: nfs-server: add support for building with external librpc X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=e547f8f6ab5feec9ffcf80a5f8a190dd2c9ec132;p=openwrt%2Fsvn-archive%2Fpackages.git nfs-server: add support for building with external librpc SVN-Revision: 25500 --- diff --git a/net/nfs-server/Makefile b/net/nfs-server/Makefile index bc168a056..eb8948f65 100644 --- a/net/nfs-server/Makefile +++ b/net/nfs-server/Makefile @@ -34,6 +34,9 @@ define Build/Compile $(MAKE) -C $(PKG_BUILD_DIR) endef +TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include +TARGET_LDFLAGS += $(LIBRPC) + define Package/nfs-server/install $(INSTALL_DIR) $(1)/etc $(INSTALL_DATA) ./files/nfsd.exports $(1)/etc/exports