remove binary on reconf
[m6w6/travis-pecl] / Makefile
index 20f28299ba147ac28b927495d571b735e501377c..3a34ec3a1ba08b0f069628445363f94469e2e8c4 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -79,7 +79,7 @@ check: $(PHP_RELEASES)
 
 .PHONY: reconf
 reconf: check $(srcdir)/php-$(PHP_VERSION)/configure
-       cd $(srcdir)/php-$(PHP_VERSION) && ./configure --cache-file=config.cache --prefix=$(prefix)
+       cd $(srcdir)/php-$(PHP_VERSION) && ./configure --cache-file=config.cache --prefix=$(prefix) && rm -f sapi/cli/php
 
 .PHONY: php
 php: check $(bindir)/php | $(PECL_INI)