]> granicus.if.org Git - imagemagick/commitdiff
Revert https://github.com/ImageMagick/ImageMagick/pull/895
authorCristy <urban-warrior@imagemagick.org>
Sat, 16 Dec 2017 18:42:00 +0000 (13:42 -0500)
committerCristy <urban-warrior@imagemagick.org>
Sat, 16 Dec 2017 18:42:00 +0000 (13:42 -0500)
MagickCore/module.c

index 24af3da26728d23e44837c754189903f4a342b96..a6202a9a413b75fe5d482d32fff38a3e1607b54e 100644 (file)
@@ -77,7 +77,7 @@ typedef void *ModuleHandle;
   Define declarations.
 */
 #if defined(MAGICKCORE_LTDL_DELEGATE)
-#  define ModuleGlobExpression "*" MAGICKCORE_LTDL_MODULE_EXT
+#  define ModuleGlobExpression "*.la"
 #else
 #  if defined(_DEBUG)
 #    define ModuleGlobExpression "IM_MOD_DB_*.dll"
@@ -1455,7 +1455,7 @@ static void TagToCoderModuleName(const char *tag,char *name)
   (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",tag);
   assert(name != (char *) NULL);
 #if defined(MAGICKCORE_LTDL_DELEGATE)
-  (void) FormatLocaleString(name,MagickPathExtent,"%s" MAGICKCORE_LTDL_MODULE_EXT,tag);
+  (void) FormatLocaleString(name,MagickPathExtent,"%s.la",tag);
   (void) LocaleLower(name);
 #else
 #if defined(MAGICKCORE_WINDOWS_SUPPORT)
@@ -1508,7 +1508,7 @@ static void TagToFilterModuleName(const char *tag,char *name)
 #elif !defined(MAGICKCORE_LTDL_DELEGATE)
   (void) FormatLocaleString(name,MagickPathExtent,"%s.dll",tag);
 #else
-  (void) FormatLocaleString(name,MagickPathExtent,"%s" MAGICKCORE_LTDL_MODULE_EXT,tag);
+  (void) FormatLocaleString(name,MagickPathExtent,"%s.la",tag);
 #endif
 }
 \f