fix ncurses rebuild
[openwrt/svn-archive/archive.git] / 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)
 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 \
        (cd $(PKG_BUILD_DIR); rm -f config.cache; \
                CONFIG_SITE="" \
                ./configure \