On Mon, Sep 30, 2002 at 10:46:16AM -0700, Josh Coalson wrote: > --- Matt Zimmerman <[EMAIL PROTECTED]> wrote: > > It looks like libplugin_common.a is being linked into the shared > > object > > libxmms-flac.so. In that case, all of the objects in > > libplugin_common.a > > must be compiled with -fPIC. > > Ah yes. I'm not clear on how this works; how do the compiler options for > PIC make it down into the libtool invocation? Something automatically > does it for shared libs but I don't know how to force it when just > compiling the static one.
The only general way that I know is to configure libtool with --with-pic. This means either configuring the directories separately, or doing some awful hack like we did with -disable-static. Maybe the whole plugin setup should share one libtool (for disable-static and with-pic) and everything else can use a different one. -- - mdz ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Flac-dev mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/flac-dev
