From: cristy Date: Sun, 16 Dec 2012 00:04:58 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~4585 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6e88297e6cb22ffe2b21a5ab208957549099b57c;p=imagemagick --- diff --git a/PerlMagick/Makefile.PL.in b/PerlMagick/Makefile.PL.in index 8a54c37f1..126cea645 100644 --- a/PerlMagick/Makefile.PL.in +++ b/PerlMagick/Makefile.PL.in @@ -51,7 +51,8 @@ sub AutodetectWin32gcc { foreach (@l) { push @libdir, $_ if (-d $_) }; # try to detect 'bin' dir - push @b, $dirpath; + push @b, catfile($dirpath); + push @b, catfile($dirpath,'bin'); push @b, catfile($dirpath,'..'); push @b, catfile($dirpath,'..','bin'); push @b, catfile($dirpath,'..','..'); @@ -62,6 +63,7 @@ sub AutodetectWin32gcc { # try to detect 'include' dir push @i, catfile($dirpath,'include'); + push @i, catfile($dirpath,'include','ImageMagick'); push @i, catfile($dirpath,'..','include'); push @i, catfile($dirpath,'..','include','ImageMagick'); push @i, catfile($dirpath,'..','..','include');