From 253682388809e1371ff8e3180e673fc4f1c69e99 Mon Sep 17 00:00:00 2001 From: "Christoph M. Becker" Date: Tue, 30 Nov 2021 16:49:46 +0100 Subject: [PATCH] Explicitly specify obj_dir Without that, phpize builds fail because there is rar.c and rar.cpp, and both are compiled to rar.obj in the same folder. This appears to be an upstream bug[1], but even if so, that won't be fixed for PHP 7 anymore, so we work around. [1] --- config.w32 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.w32 b/config.w32 index b72a7c0..577b758 100644 --- a/config.w32 +++ b/config.w32 @@ -31,7 +31,7 @@ if (PHP_RAR != "no") { arcread.cpp filefn.cpp \ global.cpp list.cpp \ encname.cpp file.cpp \ - secpassword.cpp options.cpp", "rar"); + secpassword.cpp options.cpp", "rar", "rarobj"); AC_DEFINE("HAVE_RAR", 1, "Rar support"); }