diff --git a/ext/RMagick/extconf.rb b/ext/RMagick/extconf.rb index 425b560..41ccdaf 100644 --- a/ext/RMagick/extconf.rb +++ b/ext/RMagick/extconf.rb @@ -202,7 +202,7 @@ def check_partial_imagemagick_versions() -if RUBY_PLATFORM !~ /mswin|mingw/ +if RUBY_PLATFORM !~ /mswin|mingw/ && !pkg_config("MagickWand") unless have_library("MagickCore", "InitializeMagick", headers) || have_library("Magick", "I
{{#tags}}- {{label}}
{{/tags}}