fix ncurses rebuild
authorNicolas Thill <nico@openwrt.org>
Sat, 30 Dec 2006 16:17:21 +0000 (16:17 +0000)
committerNicolas Thill <nico@openwrt.org>
Sat, 30 Dec 2006 16:17:21 +0000 (16:17 +0000)
SVN-Revision: 5935

libs/ncurses/Makefile

index 2da60b9..7c67e4f 100644 (file)
@@ -36,6 +36,7 @@ endef
 define Build/Compile
        rm -rf $(PKG_INSTALL_DIR)
        mkdir -p $(PKG_INSTALL_DIR)
+       -$(MAKE) -C $(PKG_BUILD_DIR) distclean
        (cd $(PKG_BUILD_DIR); rm -f config.cache; \
                CONFIG_SITE="" \
                ./configure \