Strawberry Perl compatibility patch
Posted: 2014-09-21T12:50:29-07:00
Please consider applying this patch
--
kmx (strawberry perl maintainer)
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)