[vlc-devel] --enable-libdvdcss and static dll linking?

Rafaël Carré funman at videolan.org
Mon Dec 5 06:14:28 CET 2011


Le Sun, 4 Dec 2011 22:00:20 -0700,
Roger Pack <rogerdpack2 at gmail.com> a écrit :

> > You didn't compile libdvdnav as static.
> 
> I assume "compile as static" means --enable-static ?
> In this particular instance, I did, however, I left --enable-shared on
> (I think so anyway).
> Anybody know what it will do if it has both static and shared to choose from?

I guess it depends of this gcc option:

`-static'
     On systems that support dynamic linking, this prevents linking
     with the shared libraries.  On other systems, this option has no
     effect.

So I assume if there is no "-static" on the gcc command line, the
dynamic version is chosen first.

-- 
Rafaël Carré



More information about the vlc-devel mailing list