]> granicus.if.org Git - php/commitdiff
fix gd compilation with icc toolset
authorAnatol Belski <ab@php.net>
Fri, 7 Nov 2014 18:13:41 +0000 (19:13 +0100)
committerAnatol Belski <ab@php.net>
Fri, 7 Nov 2014 18:13:41 +0000 (19:13 +0100)
ext/gd/config.w32

index 2127fc5dcee819d60379a97a8a47fb77a27213e4..b6f45a9c6475cde3ec78707a8e793f80d5383913 100644 (file)
@@ -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 {