configure.ac | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
New commits: commit 037584cfe5e58bf6807fb0188d245042baa8c1c0 Author: Michael Stahl <mst...@redhat.com> Date: Mon Nov 30 21:19:52 2015 +0100 configure: check for dlsym(), not dlopen() On Fedora 23, the check for dlopen happens to succeed with gcc -m32 -fsanitize=address, and then linking executables fails due to not finding dlsym. Checking for dlsym results in the proper -ldl. Change-Id: I02108c2c053e07b33848af068937f29967e7dc6a diff --git a/configure.ac b/configure.ac index eb569d1..8593722 100644 --- a/configure.ac +++ b/configure.ac @@ -904,9 +904,9 @@ AC_SUBST(PTHREAD_LIBS) if test $_os != "WINNT"; then save_LIBS="$LIBS" - AC_SEARCH_LIBS([dlopen], [dl], - [case "$ac_cv_search_dlopen" in -l*) DLOPEN_LIBS="$ac_cv_search_dlopen";; esac], - [AC_MSG_ERROR([dlopen not found in either libc nor libdl])]) + AC_SEARCH_LIBS([dlsym], [dl], + [case "$ac_cv_search_dlsym" in -l*) DLOPEN_LIBS="$ac_cv_search_dlsym";; esac], + [AC_MSG_ERROR([dlsym not found in either libc nor libdl])]) LIBS="$save_LIBS" fi AC_SUBST(DLOPEN_LIBS) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits