components/imagemagick/patches/la.patch
author pkidd <patrick.kidd@oracle.com>
Wed, 21 Sep 2016 09:54:51 -0700
branchs11u3-sru
changeset 6948 3bfd310e175b
parent 6233 bbdba2b0d364
permissions -rw-r--r--
Added tag 0.175.3.13.0.3.0, S11.3SRU13.3 for changeset 08b09d8a757a

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
 }