[Flac-dev] plugin_xmms/Makefile.am incorrectly references .libs directory

Matt Zimmerman mdz at debian.org
Thu Jun 14 13:15:00 PDT 2001


When linking against a libtool library, you should simply specify it on the
libtool command line as you would a library or an object file.  Nothing should
ever reference the .libs directory directly.

diff -u -r1.1.1.1 Makefile.am
--- Makefile.am 2001/01/29 18:13:29     1.1.1.1
+++ Makefile.am 2001/06/14 20:13:20
@@ -9,5 +9,6 @@
 
 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_LIBS = $(top_builddir)/src/libFLAC/libFLAC.la
+libxmms_flac_la_LIBADD = @XMMS_LIBS@
 libxmms_flac_la_LDFLAGS = -module -avoid-version

-- 
 - mdz





More information about the Flac-dev mailing list