Page 1 of 1

Strawberry Perl compatibility patch

Posted: 2014-09-21T12:50:29-07:00
by kmx
Please consider applying this patch

Code: Select all

diff -ru PerlMagick-6.89/Makefile.PL PerlMagick-6.89_patched/Makefile.PL
--- PerlMagick-6.89/Makefile.PL	2014-08-15 14:56:32.000000000 +0200
+++ PerlMagick-6.89_patched/Makefile.PL	2014-09-21 19:44:50.812742800 +0200
@@ -174,7 +174,7 @@
   # Setup for strawberry perl.
   #
   $INC_magick       = "$Ipaths";
-  $LIBS_magick      = "-lMagickCore-6.Q16";
+  $LIBS_magick      = "-lMagickCore"; # use here just plain 'MagickCore' no version info
   $CCFLAGS_magick   = "$Config{'ccflags'}";
   $LDFLAGS_magick   = "$Config{'ldflags'} $Lpaths ";
   $LDDLFLAGS_magick = "$Config{'lddlflags'} $Lpaths ";
diff -ru PerlMagick-6.89/Makefile.PL.in PerlMagick-6.89_patched/Makefile.PL.in
--- PerlMagick-6.89/Makefile.PL.in	2014-08-15 14:55:25.000000000 +0200
+++ PerlMagick-6.89_patched/Makefile.PL.in	2014-09-21 19:51:31.345742800 +0200
@@ -174,7 +174,7 @@
   # Setup for strawberry perl.
   #
   $INC_magick       = "$Ipaths";
-  $LIBS_magick      = "-lMagickCore-@MAGICK_ABI_SUFFIX@";
+  $LIBS_magick      = "-lMagickCore"; # use here just plain 'MagickCore' no version info
   $CCFLAGS_magick   = "$Config{'ccflags'}";
   $LDFLAGS_magick   = "$Config{'ldflags'} $Lpaths ";
   $LDDLFLAGS_magick = "$Config{'lddlflags'} $Lpaths ";
--
kmx (strawberry perl maintainer)

Re: Strawberry Perl compatibility patch

Posted: 2014-09-21T14:23:55-07:00
by magick
We'll apply the patch and export PerlMagick 6.89 to CPAN within a day or two. Thanks.