mirror of
https://github.com/php/php-src.git
synced 2024-11-23 01:44:06 +08:00
libtool: Don't remove gcov *.gcno files (#15441)
The libtool bundled with PHP is outdated and deletes *.gcno files used by gcov during the build process. While this issue has already been resolved upstream [1], incorporating the fix at this point may not be practical. Therefore, we attempt to apply a fix to the current version. This change will enable proper coverage output for third-party PHP extensions. [1]: https://github.com/autotools-mirror/libtool/blob/master/NEWS#L605
This commit is contained in:
parent
8853cf3ae9
commit
d6afe05380
@ -3467,7 +3467,7 @@ EOF
|
||||
tempremovelist=`$echo "$output_objdir/*"`
|
||||
for p in $tempremovelist; do
|
||||
case $p in
|
||||
*.$objext)
|
||||
*.$objext | *.gcno)
|
||||
;;
|
||||
$output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/${libname}${release}.*)
|
||||
if test "X$precious_files_regex" != "X"; then
|
||||
|
Loading…
Reference in New Issue
Block a user