Subject: | [patch] Win32 directory structure |
I guess Win32 binary build changed directory structure, so here is patch
to detect correct directories.
--
Alexandr Ciornii, http://chorny.net
Subject: | Makefile.PL.patch |
--- Makefile.PL.dist 2012-05-25 03:00:30.000000000 +0300
+++ Makefile.PL 2012-12-12 14:36:09.375000000 +0200
@@ -44,12 +44,14 @@
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 @@
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');