[Ffmpeg-devel] Re: [OT] libtool

Måns Rullgård mru
Fri Sep 23 08:58:24 CEST 2005


Dave Dodge <dododge at dododge.net> writes:

> On Thu, Sep 22, 2005 at 03:46:50PM +0200, Sam Hocevar wrote:
>> On Thu, Sep 22, 2005, Dave Dodge wrote:
>> >   foo.o
>> >   .libs/foo.o    <-- this is a _copy_ of foo.o
>> 
>>    No, it is not a copy of foo.o, it is a version of foo.o that was
>> built in PIC mode, and your test code is probably too simple to make
>> a difference.
>
> Now that I'm paying closer attention I see what you're talking about.
> They had been bit-for-bit equal in my quick test case and I hadn't
> noticed the options libtool was using on the compiles.
>
>>    What k3d does is use the AC_DISABLE_STATIC directive to disable the
>> double object build and only build the PIC versions (that are needed for
>> the static library).
>
> I assume this functionality can only be triggered at configure time,
> because there doesn't seem to be any command-line option to libtool to
> make it drop the static or dynamic build at runtime.

Look at --enable-static, --enable-shared, --with-pic, and their
negated versions.

-- 
M?ns Rullg?rd
mru at inprovide.com





More information about the ffmpeg-devel mailing list