From bf1ecbfe168e0f59c0deacbf7f2012c0d36a7f08 Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Fri, 24 Jul 2015 17:06:01 +0200 Subject: [PATCH] fix libwebp namings --- ext/gd/config.w32 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/gd/config.w32 b/ext/gd/config.w32 index f0e0b2296a..2779a5b32d 100644 --- a/ext/gd/config.w32 +++ b/ext/gd/config.w32 @@ -23,7 +23,7 @@ if (PHP_GD != "no") { ) { if (PHP_LIBWEBP != "no") { - if (CHECK_LIB("libwebp.lib", "gd", PHP_GD) && + if ((CHECK_LIB("libwebp_a.lib", "gd", PHP_GD) || CHECK_LIB("libwebp.lib", "gd", PHP_GD)) && CHECK_HEADER_ADD_INCLUDE("decode.h", "CFLAGS_GD", PHP_GD + ";" + PHP_PHP_BUILD + "\\include\\webp") && CHECK_HEADER_ADD_INCLUDE("encode.h", "CFLAGS_GD", PHP_GD + ";" + PHP_PHP_BUILD + "\\include\\webp")) { ADD_FLAG("CFLAGS_GD", "/D HAVE_LIBWEBP /D HAVE_GD_WEBP"); -- 2.50.1