diff options
author | Anatol Belski <ab@php.net> | 2015-07-24 17:06:01 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2015-07-24 17:06:29 +0200 |
commit | bf1ecbfe168e0f59c0deacbf7f2012c0d36a7f08 (patch) | |
tree | f65aa344be2e3f228eb7e1f26c406e70bfa1e4bc | |
parent | d44fc4a07361d2527dd7073b09e5e88134708858 (diff) | |
download | php-git-bf1ecbfe168e0f59c0deacbf7f2012c0d36a7f08.tar.gz |
fix libwebp namings
-rw-r--r-- | ext/gd/config.w32 | 2 |
1 files changed, 1 insertions, 1 deletions
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"); |