Commit 46ff91c6 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Fix realaudio linking on Linux without the Win32 loader

parent ade1ff28
......@@ -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
......
......@@ -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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment