--- ImageMagick-6.4.1/configure.ac.orig 2008-05-27 09:43:02.000000000 +0200 +++ ImageMagick-6.4.1/configure.ac 2008-05-27 09:43:54.000000000 +0200 @@ -3050,7 +3050,7 @@ # Determine path to pick up MagickCore library from for use with building PerlMagick MAGICKCORE_PATH="${LIB_DIR}" -if test $with_perl_static = 'yes'; then +if test $with_perl_static = 'yes' -o '$with_perl_dynamic' = 'yes'; then # Find out where libtool hides its uninstalled libraries (as libtool_objdir) libtool_objdir=$objdir