Since there could be multiple files for libltdl to try dlopening,
libltdl should not fail after the first attempted file.
Reported: https://savannah.gnu.org/support/?111214
* libltdl/ltdl.c: Change return if dlopen() fails.
* libltdl/ltdl.mk: Update serial.
if (notfound)
return 0;
- /* Try to dlopen the file, but do not continue searching in any
- case. */
+ /* Try to dlopen the file. */
if (tryall_dlopen (phandle, filename, advise, 0) != 0)
- *phandle = 0;
+ return 0;
return 1;
}
-I$(srcdir)/libltdl -Ilibltdl/libltdl \
-I$(srcdir)/libltdl/libltdl
AM_LDFLAGS += -no-undefined
-LTDL_VERSION_INFO = -version-info 10:4:3
+LTDL_VERSION_INFO = -version-info 10:5:3
noinst_LTLIBRARIES += $(LT_DLLOADERS)