Matt Zimmerman
2004-Sep-10 16:45 UTC
[Flac-dev] plugin_xmms/Makefile.am incorrectly references .libs directory
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
Josh Coalson
2004-Sep-10 16:45 UTC
[Flac-dev] plugin_xmms/Makefile.am incorrectly references .libs directory
thanks, I made the patch. Josh --- Matt Zimmerman <mdz@debian.org> wrote:> 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.__________________________________________________ Do You Yahoo!? Spot the hottest trends in music, movies, and more. http://buzz.yahoo.com/