[Flac-dev] XMMS plugin build fix

Matt Zimmerman mdz at debian.org
Thu Jun 21 12:29:41 PDT 2001


I think I sent a bad patch for this one already, which used a _LIBS variable.
There is no _LIBS variable. :-)  So, the .la file should be specified directly
in _LIBADD, with no linker flag syntax.  libtool will figure it out.

diff -u -r1.1.1.1 Makefile.am
--- Makefile.am 29 Jan 2001 18:13:29 -0000      1.1.1.1
+++ Makefile.am 21 Jun 2001 19:27:31 -0000
@@ -9,5 +9,5 @@
 
 xmmsinputplugin_LTLIBRARIES = libxmms-flac.la
 libxmms_flac_la_SOURCES = plugin.c
-libxmms_flac_la_LIBADD = -L$(top_builddir)/src/libFLAC/.libs -lFLAC @XMMS_LIBS@
+libxmms_flac_la_LIBADD = @XMMS_LIBS@ $(top_builddir)/src/libFLAC/libFLAC.la
 libxmms_flac_la_LDFLAGS = -module -avoid-version


-- 
 - mdz





More information about the Flac-dev mailing list