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 2da60b969c7a71b50872245f984a7d0082e21755..7c67e4f3dc563e6decb69538b151f71dd7573e84 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 \