From: cristy Date: Wed, 11 Nov 2009 02:32:38 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~10388 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b2aad8da1f772267c926775947c781f09dc070f0;p=imagemagick --- diff --git a/ltdl/ltdl.c b/ltdl/ltdl.c index 6e19599f8..8cc56df24 100644 --- a/ltdl/ltdl.c +++ b/ltdl/ltdl.c @@ -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; }