From 7d7182e1b04544beb5de764e7a91be41848b2e15 Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Fri, 7 Nov 2014 19:13:41 +0100 Subject: [PATCH] fix gd compilation with icc toolset --- ext/gd/config.w32 | 3 +++ 1 file changed, 3 insertions(+) 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 { -- 2.50.1