[php-src] PR #17016: Fix GH-16843: Windows phpize builds ignore source subfolders

From: Date: Mon, 02 Dec 2024 12:07:04 +0000
Subject: [php-src] PR #17016: Fix GH-16843: Windows phpize builds ignore source subfolders
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-29860@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/17016 Author: cmb69 phpize builds on Windows ignore the paths of extension sources, and build all object files in the same folder. This can't work if there are multiple source files with the same base name stored in separate folders and registered as such (e.g. cls/worker.c and src/worker.c). While extension authors can work around by avoiding duplicate base names, they may not even be aware of the problem because on POSIX systems, the object files are usually placed right besides the sources. Thus we take the relative path (from configure_module_dirname) of the source files into account even for phpize builds. Since this may break some extension builds (especially those which use Makefile fragments), we do not apply this fix to stable branches.

« previous php.git-pulls (#29860) next »