Standardize configure invocation
authorNicolas Thill <nico@openwrt.org>
Sat, 21 May 2005 14:57:57 +0000 (14:57 +0000)
committerNicolas Thill <nico@openwrt.org>
Sat, 21 May 2005 14:57:57 +0000 (14:57 +0000)
SVN-Revision: 1008

openwrt/package/nfs-server/Makefile

index 6bc126d3e2123aaf6f60f68ef8be846e546394cc..29b6f08ba5d7e0111c303edb4bc6e4971f084415 100644 (file)
@@ -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) \