From b2aad8da1f772267c926775947c781f09dc070f0 Mon Sep 17 00:00:00 2001 From: cristy Date: Wed, 11 Nov 2009 02:32:38 +0000 Subject: [PATCH] --- ltdl/ltdl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } -- 2.50.1