]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Wed, 11 Nov 2009 02:32:38 +0000 (02:32 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Wed, 11 Nov 2009 02:32:38 +0000 (02:32 +0000)
ltdl/ltdl.c

index 6e19599f830960f82fba4fa18f48b8677cc38fe7..8cc56df24d8e671b4d460c25257aab1b4fa01bcc 100644 (file)
@@ -529,7 +529,8 @@ find_module (lt_dlhandle *handle, const char *dir, const char *libdir,
   /* Try to open the old library first; if it was dlpreopened,
      we want the preopened version of it, even if a dlopenable
      module is available.  */
-  if (old_name && tryall_dlopen (handle, old_name, advise, 0) == 0)
+  if (old_name && tryall_dlopen (handle, old_name, advise,
+                                lt_dlloader_find ("lt_preopen")) == 0)
     {
       return 0;
     }