From 1ddea988412fc43d5dd9035fe06b81c15b9a8228 Mon Sep 17 00:00:00 2001 From: cristy Date: Sun, 16 Dec 2012 00:01:56 +0000 Subject: [PATCH] --- PerlMagick/Makefile.PL.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/PerlMagick/Makefile.PL.in b/PerlMagick/Makefile.PL.in index ad17cc805..8a54c37f1 100644 --- a/PerlMagick/Makefile.PL.in +++ b/PerlMagick/Makefile.PL.in @@ -44,12 +44,14 @@ sub AutodetectWin32gcc { my (@l,@b,@i) = ( (),(),() ); # try to detect 'lib' dir + push @l, catfile($dirpath,'lib'); push @l, catfile($dirpath,'..','lib'); push @l, catfile($dirpath,'..','..','lib'); push @l, catfile($dirpath,'..','..','..','lib'); 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,'..','..'); @@ -59,6 +61,7 @@ sub AutodetectWin32gcc { foreach (@b) { push @bindir, $_ if (-e "$_/convert.exe" || -e "$_/identify.exe") }; # try to detect 'include' dir + push @i, catfile($dirpath,'include'); push @i, catfile($dirpath,'..','include'); push @i, catfile($dirpath,'..','include','ImageMagick'); push @i, catfile($dirpath,'..','..','include'); -- 2.40.0