remove binary on reconf
authorMichael Wallner <mike@php.net>
Wed, 18 Jul 2018 10:58:55 +0000 (12:58 +0200)
committerMichael Wallner <mike@php.net>
Wed, 18 Jul 2018 10:58:55 +0000 (12:58 +0200)
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)