[vlc-devel] [PATCH] Fix CDDA build with CDDB

Jean-Baptiste Kempf jb at videolan.org
Mon Sep 16 18:29:40 CEST 2013


---
 modules/access/Makefile.am | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/modules/access/Makefile.am b/modules/access/Makefile.am
index b295110..cfda9ef 100644
--- a/modules/access/Makefile.am
+++ b/modules/access/Makefile.am
@@ -210,8 +210,10 @@ EXTRA_LTLIBRARIES += libvnc_plugin.la
 ### Optical media ###
 
 libcdda_plugin_la_SOURCES = access/cdda.c access/vcd/cdrom.c access/vcd/cdrom.h access/vcd/cdrom_internals.h
+libcdda_plugin_la_LIBADD = $(LIBCDDB_LIBS)
+libcdda_plugin_la_CFLAGS = $(AM_CFLAGS) $(LIBCDDB_CFLAGS)
 if HAVE_DARWIN
-libcdda_plugin_la_LIBADD = -liconv
+libcdda_plugin_la_LIBADD += -liconv
 endif
 libcdda_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(accessdir)'
 EXTRA_LTLIBRARIES += libcdda_plugin.la
-- 
1.8.4




More information about the vlc-devel mailing list