From: Tony Cook <tony@develop=help.com>
Date: Mon, 2 Apr 2001 13:41:57 +0000 (+0000)
Subject: Win32 jpeg support
X-Git-Tag: Imager-0.48^2~762
X-Git-Url: http://git.imager.perl.org/imager.git/commitdiff_plain/50ee6f9c0dcec28596d337e32d28f1046e7c8705

Win32 jpeg support
---

diff --git a/Makefile.PL b/Makefile.PL
index f72cc03d..a886172d 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -239,7 +239,7 @@ sub init {
 		    order=>'21',
 		    def=>'HAVE_LIBJPEG',
 		    inccheck=>sub { $_[0] eq 'jpeglib.h' },
-		    libcheck=>sub { $_[0] eq 'libjpeg.a' or $_ eq "libjpeg.$lext" },
+		    libcheck=>sub { $_[0] eq "libjpeg$aext" or $_ eq "libjpeg.$lext" },
 		    libfiles=>'-ljpeg',
 		    objfiles=>'jpeg.o',
 		    docs=>q{