]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Sun, 16 Dec 2012 00:04:58 +0000 (00:04 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Sun, 16 Dec 2012 00:04:58 +0000 (00:04 +0000)
PerlMagick/Makefile.PL.in

index 8a54c37f105f025dc780a85cfb37455831fe8480..126cea645e51aa9edb6f465e4cc065d8cc89cbe4 100644 (file)
@@ -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');