[Flac-dev] XMMS plugin build fix

Matt Zimmerman mdz at debian.org
Fri Jul 20 15:33:37 PDT 2001


On Fri, Jul 20, 2001 at 03:13:31PM -0700, Josh Coalson wrote:

> --- Matt Zimmerman <mdz at debian.org> wrote:
> > Basically, you are allowed to specify object code, whether in shared or
> > static libraries, normal object files, libtool libraries, and libtool
> > object files.  libtool figures out any magic that needs to be done to
> > actually link those objects together, and calls the linker to do the work.
> 
> it seems like some of the magic is broken in 1.3.5.

I don't understand it...I have only been using libtool 1.4 since April, and I
swear it worked before.  Maybe that part was different then.

I'm sure it could be any number of non-libtool issues as well, such as the
particular versions of various libraries that you have on your system.  My GTK
libraries include .la files; do yours?

That code is essentially the same code that is used to build the plugins in
XMMS itself.  For instance, here's the Makefile.am for the vorbis plugin:

if HAVE_OGGVORBIS

lib_LTLIBRARIES = libvorbis.la

endif

libdir = $(plugindir)/$(INPUT_PLUGIN_DIR)

INCLUDES = @GTK_CFLAGS@ @OGG_CFLAGS@ @VORBIS_CFLAGS@ -I$(top_builddir)/intl
libvorbis_la_LDFLAGS = -module -avoid-version
libvorbis_la_LIBADD = @GTK_LIBS@ @PTHREAD_LIBS@ @VORBIS_LIBS@ @OGG_LIBS@

libvorbis_la_SOURCES = \
vorbis.c vorbis.h \
configure.c \
http.c http.h \
fileinfo.c \
vcedit.c vcedit.h \
utf8.c

-- 
 - mdz





More information about the Flac-dev mailing list