[php-src] master: ext/gd: remove libde265 and x265 checks on Windows (#22869)

Shivam Mathur via GitHub <[email protected]> Thu, 23 Jul 2026 14:02:09 +0000
Newsgroups gmane.comp.php.cvs.general
Message-ID <[email protected]>
Author: Shivam Mathur (shivammathur)
Committer: GitHub (web-flow)
Pusher: shivammathur
Date: 2026-07-23T19:32:07+05:30

Commit: https://github.com/php/php-src/commit/c329a71037c194dc0e37d829178486aa81fbf057
Raw diff: https://github.com/php/php-src/commit/c329a71037c194dc0e37d829178486aa81fbf057.diff

ext/gd: remove libde265 and x265 checks on Windows (#22869)

Changed paths:
  M  ext/gd/config.w32


Diff:

diff --git a/ext/gd/config.w32 b/ext/gd/config.w32
index ce1dc1119777..a34e9ea8a555 100644
--- a/ext/gd/config.w32
+++ b/ext/gd/config.w32
@@ -66,9 +66,7 @@ if (PHP_GD != "no") {
 				heif_location = false;
 			}
 			if (heif_location && heif_location.match(/heif_a\.lib$/)) {
-				if (!(CHECK_LIB("libde265_a.lib", "gd", PHP_GD) &&
-					CHECK_LIB("x265_a.lib", "gd", PHP_GD) &&
-					CHECK_LIB("aom_a.lib", "gd", PHP_GD) &&
+				if (!(CHECK_LIB("aom_a.lib", "gd", PHP_GD) &&
 					CHECK_LIB("dav1d_a.lib", "gd", PHP_GD))) {
 					WARNING("static libheif not enabled; codec libraries not found");
 					heif_location = false;