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

Naohiro KORIYAMA nkoriyama at gmail.com
Sat Dec 3 04:28:55 CET 2011


2011/12/3 Jean-Baptiste Kempf <jb at videolan.org>:
> On Fri, Dec 02, 2011 at 06:45:45PM -0700, Roger Pack wrote :
>> Also next question:
>> how does vlc create "static" dll's, like
>> libdvdnav_plugin.dll
>> that doesn't need libdvdnav-4.dll to function?  I was forced to copy
>> all the various .dll's to my vlc directory in order to get vlc to work
>> with my own cross compiled version of libdvdnav.  Any ideas?
>
> You didn't compile libdvdnav as static.
>

Making contrib with Makefile generated by contrib/bootstrap,
contrib libraries must be compiled as static.

I compiled contrib libraries on my mingw32 on my Mac OS X by the
following steps.
you may change host and build for your environment.

% cd vlc_topdir/contrib
% mkdir win
% cd win
% ../bootstrap --host=i686-pc-mingw32 --build=x86_64-apple-darwin11
% make

And contrib are installed to vlc_topdir/contrib/i686-pc-mingw32 (or
your setting value to host).
It's the easiest and preferred way, I think.

-- 
KORIYAMA, Naohiro
nkoriyama at gmail.com



More information about the vlc-devel mailing list