mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
Test for _struct_ lt_user_dlloader, otherwise it won't be found.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2114 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
9ad7bb6188
commit
30e2a773d4
2 changed files with 3 additions and 3 deletions
|
|
@ -176,7 +176,7 @@ old_LIBS=$LIBS
|
|||
LIBS="$LIBS $LIBLTDL"
|
||||
AC_CHECK_FUNCS([lt_dlmutex_register])
|
||||
LIBS=$old_LIBS
|
||||
AC_CHECK_TYPES([lt_user_dlloader, lt_dladvise], , , [#include <ltdl.h>])
|
||||
AC_CHECK_TYPES([struct lt_user_dlloader, lt_dladvise], , , [#include <ltdl.h>])
|
||||
|
||||
if test "x$enable_ltdl_install" = "xno" && test "x$ac_cv_lib_ltdl_lt_dlinit" = "xno" ; then
|
||||
AC_MSG_ERROR([[
|
||||
|
|
|
|||
|
|
@ -138,7 +138,7 @@ static lt_ptr bind_now_find_sym(lt_user_data d, lt_module m, const char *symbol)
|
|||
void pa_ltdl_init(void) {
|
||||
|
||||
#ifdef PA_BIND_NOW
|
||||
# ifdef HAVE_LT_USER_DLLOADER
|
||||
# ifdef HAVE_STRUCT_LT_USER_DLLOADER
|
||||
lt_dlloader *place;
|
||||
static const struct lt_user_dlloader loader = {
|
||||
.module_open = bind_now_open,
|
||||
|
|
@ -158,7 +158,7 @@ void pa_ltdl_init(void) {
|
|||
#endif
|
||||
|
||||
#ifdef PA_BIND_NOW
|
||||
# ifdef HAVE_LT_USER_DLLOADER
|
||||
# ifdef HAVE_STRUCT_LT_USER_DLLOADER
|
||||
|
||||
if (!(place = lt_dlloader_find("dlopen")))
|
||||
place = lt_dlloader_next(NULL);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue