We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d44fc4a commit bf1ecbfCopy full SHA for bf1ecbf
ext/gd/config.w32
@@ -23,7 +23,7 @@ if (PHP_GD != "no") {
23
) {
24
25
if (PHP_LIBWEBP != "no") {
26
- if (CHECK_LIB("libwebp.lib", "gd", PHP_GD) &&
+ if ((CHECK_LIB("libwebp_a.lib", "gd", PHP_GD) || CHECK_LIB("libwebp.lib", "gd", PHP_GD)) &&
27
CHECK_HEADER_ADD_INCLUDE("decode.h", "CFLAGS_GD", PHP_GD + ";" + PHP_PHP_BUILD + "\\include\\webp") &&
28
CHECK_HEADER_ADD_INCLUDE("encode.h", "CFLAGS_GD", PHP_GD + ";" + PHP_PHP_BUILD + "\\include\\webp")) {
29
ADD_FLAG("CFLAGS_GD", "/D HAVE_LIBWEBP /D HAVE_GD_WEBP");
0 commit comments