From 856c2d259d92525b0a43a2ba0a289240f8af0a32 Mon Sep 17 00:00:00 2001 From: Shivam Mathur Date: Thu, 23 Jul 2026 16:51:09 +0530 Subject: [PATCH] ext/gd: remove libde265 and x265 checks on Windows --- ext/gd/config.w32 | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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;