To avoid dependency on libtool/libltdl, change "*.la" extension
to "*.so"
-----------------------------------------------------------------
--- ImageMagick-6.9.4/magick/module.c.~1~ 2016-05-09 10:28:58.000000000 -0700
+++ ImageMagick-6.9.4/magick/module.c 2016-05-10 08:56:44.350751083 -0700
@@ -74,7 +74,7 @@
Define declarations.
*/
#if defined(MAGICKCORE_LTDL_DELEGATE)
-# define ModuleGlobExpression "*.la"
+# define ModuleGlobExpression "*.so"
#else
# if defined(_DEBUG)
# define ModuleGlobExpression "IM_MOD_DB_*.dll"
@@ -1482,7 +1482,7 @@
(void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",tag);
assert(name != (char *) NULL);
#if defined(MAGICKCORE_LTDL_DELEGATE)
- (void) FormatLocaleString(name,MaxTextExtent,"%s.la",tag);
+ (void) FormatLocaleString(name,MaxTextExtent,"%s.so",tag);
(void) LocaleLower(name);
#else
#if defined(MAGICKCORE_WINDOWS_SUPPORT)
@@ -1533,7 +1533,7 @@
#if !defined(MAGICKCORE_LTDL_DELEGATE)
(void) FormatLocaleString(name,MaxTextExtent,"%s.dll",tag);
#else
- (void) FormatLocaleString(name,MaxTextExtent,"%s.la",tag);
+ (void) FormatLocaleString(name,MaxTextExtent,"%s.so",tag);
#endif
}