[php-src] PR #19302: Fix opcache build

From: Date: Wed, 30 Jul 2025 08:11:06 +0000
Subject: [php-src] PR #19302: Fix opcache build
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-32696@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/19302 Author: arnaud-lb In the absence of PHP_ARG_WITH([opcache],, the value of ext_shared is not initialized while processing directives of ext/opcache/config.m4, causing PHP_EVAL_LIBLINE() to add libs to OPCACHE_SHARED_LIBADD instead of LIBS. For example, running ./configure --with-dbmaker=shared --with-capstone will set ext_shared=yes before processing opcache. In this case, -lcapstone is added to OPCACHE_SHARED_LIBADD. Fixing by setting libs-variable to LIBS. @remicollet could you confirm this fixes the issue?

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