summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2014-11-07 19:13:41 +0100
committerAnatol Belski <ab@php.net>2014-11-07 19:13:41 +0100
commit7d7182e1b04544beb5de764e7a91be41848b2e15 (patch)
tree8f74366ec468c597fba380a607f73219fe112481
parent2e5cba25e8fa7e980746d0111c0740fdd4002b74 (diff)
downloadphp-git-7d7182e1b04544beb5de764e7a91be41848b2e15.tar.gz
fix gd compilation with icc toolset
-rw-r--r--ext/gd/config.w323
1 files changed, 3 insertions, 0 deletions
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 {