X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/ecdc8bd6717059d3cce793e829a55ef3e474104b..a267d2e1ed780da4417eb8f6c158ab4bfb47dfe0:/openwrt/package/nfs-server/Makefile diff --git a/openwrt/package/nfs-server/Makefile b/openwrt/package/nfs-server/Makefile index 6bc126d3e..29b6f08ba 100644 --- a/openwrt/package/nfs-server/Makefile +++ b/openwrt/package/nfs-server/Makefile @@ -22,6 +22,8 @@ $(PKG_BUILD_DIR)/.configured: (cd $(PKG_BUILD_DIR); rm -rf config.{cache,status} ; \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ + CPPFLAGS="-I$(STAGING_DIR)/usr/include" \ + LDFLAGS="-L$(STAGING_DIR)/usr/lib" \ ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \