mirror of
https://github.com/php/php-src.git
synced 2024-11-25 02:44:58 +08:00
backport gd config.w32 to support freetype 2.5
This commit is contained in:
parent
c2062ca470
commit
b5aca81de1
@ -9,6 +9,7 @@ if (PHP_GD != "no") {
|
|||||||
if (
|
if (
|
||||||
CHECK_LIB("libjpeg_a.lib;libjpeg.lib", "gd", PHP_GD) &&
|
CHECK_LIB("libjpeg_a.lib;libjpeg.lib", "gd", PHP_GD) &&
|
||||||
CHECK_LIB("freetype_a.lib;freetype.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_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("gd.h", "CFLAGS_GD", PHP_GD + ";ext\\gd\\libgd") &&
|
||||||
(CHECK_HEADER_ADD_INCLUDE("png.h", "CFLAGS_GD", PHP_GD + ";" + PHP_PHP_BUILD + "\\include\\libpng15") ||
|
(CHECK_HEADER_ADD_INCLUDE("png.h", "CFLAGS_GD", PHP_GD + ";" + PHP_PHP_BUILD + "\\include\\libpng15") ||
|
||||||
|
Loading…
Reference in New Issue
Block a user