Building VLC3 Windows leads to heavy libs
Posted: 02 Mar 2018 15:55
I build VLC 3.0.1 Windows from Ubuntu with gcc, now I have libs that are 5x larger than VLC public release libs.
For example my libavcodec.dll is about 110Mo when VLC player 3.0.1 has 20Mo.
I'm not using "enable-debug" when configuring, I use build instructions from here : https://wiki.videolan.org/Win32Compile/
I disable some plugins to skip build errors :
../extras/package/win32/configure.sh --host=x86_64-w64-mingw32 --build=x86_64-pc-linux-gnu --disable-lua --disable-faad --disable-chromecast
I use "package-win-strip" at the end.
Note that I have to build manually contribs because prebuilt ones give me link errors. Maybe the issue comes from here.
Any idea ?
For example my libavcodec.dll is about 110Mo when VLC player 3.0.1 has 20Mo.
I'm not using "enable-debug" when configuring, I use build instructions from here : https://wiki.videolan.org/Win32Compile/
I disable some plugins to skip build errors :
../extras/package/win32/configure.sh --host=x86_64-w64-mingw32 --build=x86_64-pc-linux-gnu --disable-lua --disable-faad --disable-chromecast
I use "package-win-strip" at the end.
Note that I have to build manually contribs because prebuilt ones give me link errors. Maybe the issue comes from here.
Any idea ?