X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/08fd6bda6451b3dff2cd82cfde6f5393a1018dd5..c12f5d086cad8d7229c05c99405ae05b7d5b05ef:/package/nfs-server/Makefile diff --git a/package/nfs-server/Makefile b/package/nfs-server/Makefile index 6bc126d3e..29b6f08ba 100644 --- a/package/nfs-server/Makefile +++ b/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) \