mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-08 17:35:36 +08:00
Add gdi32.lib
This commit is contained in:
@@ -43,14 +43,14 @@ class imagick extends PhpExtensionPackage
|
||||
return;
|
||||
}
|
||||
|
||||
// The static ImageMagick stack needs several Win32 system libraries (GDI+, WIC, urlmon, ...)
|
||||
// The static ImageMagick stack needs several Win32 system libraries (GDI/GDI+, WIC, urlmon, ...)
|
||||
// that aren't already pulled in by the other extensions. (imagick itself builds as plain C:
|
||||
// ImageMagick is built with a 32-bit channel mask, see imagemagick.php buildWin, so the
|
||||
// MagickCore headers don't require a C++ translation unit.)
|
||||
FileSystem::replaceFileStr(
|
||||
$config,
|
||||
"AC_DEFINE('HAVE_IMAGICK', 1);",
|
||||
'ADD_FLAG("LIBS_IMAGICK", "gdiplus.lib urlmon.lib msimg32.lib oleaut32.lib windowscodecs.lib iphlpapi.lib");' . "\n\t\t" .
|
||||
'ADD_FLAG("LIBS_IMAGICK", "gdi32.lib gdiplus.lib urlmon.lib msimg32.lib oleaut32.lib windowscodecs.lib iphlpapi.lib");' . "\n\t\t" .
|
||||
"AC_DEFINE('HAVE_IMAGICK', 1);"
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user