Commit 651e2fa2 authored by Ron's avatar Ron

Revert "Insure that the alsa plugin links against libao, since the plugin...

Revert "Insure that the alsa plugin links against libao, since the plugin calls ao_is_big_endian from libao."

This reverts commit d11c3f1a.

This change was the wrong way to 'fix' the problem reported in trac #1779.
In normal use the plugin should already have access to the symbols from
the library that loaded it, so creating a circular dependency between
them isn't helpful.

If some other user is dynamically loading the core libao itself as a
plugin to their application, then they need to use RTLD_GLOBAL to ensure
its symbols are made available to its plugins (in the same way that libao
needs to do this when dynamically loading alsa for alsa's own plugins).
parent 7e0557a9
## Process this file with automake to produce
SUBDIRS = . plugins
SUBDIRS = plugins
AM_CPPFLAGS = -I$(top_builddir)/include/ao \
-I$(top_srcdir)/include \
......@@ -20,7 +20,7 @@ libdir = $(plugindir)
lib_LTLIBRARIES = $(alsaltlibs)
libalsa_la_LIBADD = @ALSA_LIBS@ ../../
libalsa_la_LIBADD = @ALSA_LIBS@
libalsa_la_SOURCES = $(alsasources)
EXTRA_DIST = ao_alsa.c
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