From: Anatol Belski Date: Fri, 7 Nov 2014 18:13:41 +0000 (+0100) Subject: fix gd compilation with icc toolset X-Git-Tag: PRE_PHP7_REMOVALS~54 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7d7182e1b04544beb5de764e7a91be41848b2e15;p=php fix gd compilation with icc toolset --- diff --git a/ext/gd/config.w32 b/ext/gd/config.w32 index 2127fc5dce..b6f45a9c64 100644 --- a/ext/gd/config.w32 +++ b/ext/gd/config.w32 @@ -83,6 +83,9 @@ if (PHP_GD != "no") { /D USE_GD_IOCTX \ /D MSWIN32 \ "); + if (INTEL_TOOLSET) { + ADD_FLAG("LDFLAGS_GD", "/nodefaultlib:libcmt"); + } PHP_INSTALL_HEADERS("", "ext/gd ext/gd/libgd" ); } else {