com php-src: fix gd compilation with icc toolset: ext/gd/config.w32

From: Date: Fri, 07 Nov 2014 18:13:41 +0000
Subject: com php-src: fix gd compilation with icc toolset: ext/gd/config.w32
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-82973@lists.php.net to get a copy of this message
Commit: 7d7182e1b04544beb5de764e7a91be41848b2e15 Author: Anatol Belski <ab@php.net> Fri, 7 Nov 2014 19:13:41 +0100 Parents: 2e5cba25e8fa7e980746d0111c0740fdd4002b74 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=7d7182e1b04544beb5de764e7a91be41848b2e15 Log: fix gd compilation with icc toolset Changed paths: M ext/gd/config.w32 Diff: diff --git a/ext/gd/config.w32 b/ext/gd/config.w32 index 2127fc5..b6f45a9 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 {

« previous php.cvs (#82973) next »