From: RĂ©mi Denis-Courmont Date: Sun, 3 Feb 2008 15:23:15 +0000 (+0000) Subject: Fix realaudio linking on Linux without the Win32 loader X-Git-Tag: 0.9.0-test0~2985 X-Git-Url: https://git.sesse.net/?p=vlc;a=commitdiff_plain;h=46ff91c65202b418c260fe5f4a8c3b3cd0e6580a Fix realaudio linking on Linux without the Win32 loader --- diff --git a/configure.ac b/configure.ac index bb90a8279a..e5e1b018a4 100644 --- a/configure.ac +++ b/configure.ac @@ -718,7 +718,7 @@ if test "${ac_cv_have_plugins}" = "no"; then ac_cv_my_have_dlopen=yes, AC_CHECK_LIB(dl, dlopen, ac_cv_my_have_dlopen=yes - VLC_ADD_LIBS([libvlc],[-ldl]), + VLC_ADD_LIBS([libvlc realaudio],[-ldl]), AC_CHECK_LIB(svld, dlopen, ac_cv_my_have_dlopen=yes VLC_ADD_LIBS([libvlc],[-lsvld])))) @@ -5640,7 +5640,7 @@ AS_IF([test "${enable_loader}" = "yes"], VLC_ADD_CPPFLAGS([quicktime],[-I../../@top_srcdir@/libs/loader]) VLC_ADD_LIBS([quicktime],[../../libs/loader/libloader.la -lpthread]) VLC_ADD_CPPFLAGS([realaudio],[-I../../@top_srcdir@/libs/loader -DLOADER]) - VLC_ADD_LIBS([realaudio],[../../libs/loader/libloader.la -ldl -lpthread]) + VLC_ADD_LIBS([realaudio],[../../libs/loader/libloader.la]) ]) dnl diff --git a/libs/loader/Makefile.am b/libs/loader/Makefile.am index 724c3e0ac5..9d00c27fb3 100644 --- a/libs/loader/Makefile.am +++ b/libs/loader/Makefile.am @@ -30,4 +30,5 @@ noinst_HEADERS = com.h driver.h ext.h ldt_keeper.h loader.h registry.h \ libloader_la_SOURCES = ldt_keeper.c pe_image.c module.c ext.c win32.c \ driver.c pe_resource.c resource.c registry.c afl.c vfl.c \ wrapper.S stubs.s kludge.c +libloader_la_LIBADD = -ldl -lpthread