com php-src: backport gd config.w32 to support freetype 2.5: ext/gd/config.w32
| From: | Anatol Belski | Date: | Thu, 12 Feb 2015 19:27:48 +0000 |
| Subject: | com php-src: backport gd config.w32 to support freetype 2.5: ext/gd/config.w32 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-84835@lists.php.net to get a copy of this message | ||
Commit: b5aca81de1862d539aded663c68e91f4098b3cde
Author: Anatol Belski <ab@php.net> Thu, 12 Feb 2015 20:27:48 +0100
Parents: c2062ca4705330c053463a891ee93c5e319fd464
Branches: PHP-5.5 PHP-5.6 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=b5aca81de1862d539aded663c68e91f4098b3cde
Log:
backport gd config.w32 to support freetype 2.5
Changed paths:
M ext/gd/config.w32
Diff:
diff --git a/ext/gd/config.w32 b/ext/gd/config.w32
index 1420b11..2127fc5 100644
--- a/ext/gd/config.w32
+++ b/ext/gd/config.w32
@@ -9,6 +9,7 @@ if (PHP_GD != "no") {
if (
CHECK_LIB("libjpeg_a.lib;libjpeg.lib", "gd", PHP_GD) &&
CHECK_LIB("freetype_a.lib;freetype.lib", "gd", PHP_GD) &&
+ CHECK_HEADER_ADD_INCLUDE("ft2build.h", "CFLAGS_GD", PHP_GD + ";" +
PHP_PHP_BUILD + "\\include" + ";" + PHP_PHP_BUILD +
"\\include\\freetype") &&
CHECK_LIB("libpng_a.lib;libpng.lib", "gd", PHP_GD) &&
CHECK_HEADER_ADD_INCLUDE("gd.h", "CFLAGS_GD", PHP_GD +
";ext\\gd\\libgd") &&
(CHECK_HEADER_ADD_INCLUDE("png.h", "CFLAGS_GD", PHP_GD + ";" +
PHP_PHP_BUILD + "\\include\\libpng15") ||