[vlc-commits] pulse: deduplicate helpers and fix missing symbols

Rémi Denis-Courmont git at videolan.org
Thu Aug 25 14:42:45 CEST 2016


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Aug 25 15:14:02 2016 +0300| [8dc8085da039de7688d69118bbf1f38f2a53e069] | committer: Rémi Denis-Courmont

pulse: deduplicate helpers and fix missing symbols

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8dc8085da039de7688d69118bbf1f38f2a53e069
---

 modules/audio_output/Makefile.am | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/modules/audio_output/Makefile.am b/modules/audio_output/Makefile.am
index 4a6d0b7..f8c247b 100644
--- a/modules/audio_output/Makefile.am
+++ b/modules/audio_output/Makefile.am
@@ -40,13 +40,16 @@ endif
 libvlc_pulse_la_SOURCES = audio_output/vlcpulse.c audio_output/vlcpulse.h
 libvlc_pulse_la_CPPFLAGS = -DMODULE_STRING=\"pulse\"
 libvlc_pulse_la_CFLAGS = $(AM_CFLAGS) $(PULSE_CFLAGS)
-libvlc_pulse_la_LDFLAGS = -static
-libvlc_pulse_la_LIBADD = $(PULSE_LIBS)
+libvlc_pulse_la_LIBADD = $(PULSE_LIBS) $(LTLIBVLCCORE)
+libvlc_pulse_la_LDFLAGS = \
+	-no-undefined \
+	-export-symbols-regex ^vlc_pa_ \
+	-version-info 0:0:0
 libpulse_plugin_la_SOURCES = audio_output/pulse.c
 libpulse_plugin_la_CFLAGS = $(AM_CFLAGS) $(PULSE_CFLAGS)
 libpulse_plugin_la_LIBADD = libvlc_pulse.la $(PULSE_LIBS) $(LIBM)
 if HAVE_PULSE
-noinst_LTLIBRARIES += libvlc_pulse.la
+pkglib_LTLIBRARIES += libvlc_pulse.la
 aout_LTLIBRARIES += libpulse_plugin.la
 endif
 



More information about the vlc-commits mailing list