Page 1 of 1

how to disable modules that is not used in my vlc

Posted: 05 Apr 2016 07:38
by zisucc
HI,all

recently i have compiled android vlc on my ubuntu 14 like https://wiki.videolan.org/AndroidCompile


in order to disable all modules that is not used in my vlc, I modify vlc-android/compile-libvlc.sh like this:


#VLC CONFIGURE ARGUMENTS#

--disable - avcodec
--disable - live555
...

but it does not work

so ,how can i trim modules ? and how to "make clean vlc"

the Method provided on forum like disable vlc/andriod/configure.sh and run "env.sh",but there is no "env.sh" in the new version

thanks

Re: how to disable modules that is not used in my vlc

Posted: 18 Apr 2016 03:56
by edwardw
You also need to prevent them from being built in contribs, or they'll get linked in anyways.

Re: how to disable modules that is not used in my vlc

Posted: 20 Apr 2016 04:28
by zisucc
thank you for reply

but can you tell me how can i prevent them from being built in contribs in detail? thank you

Re: how to disable modules that is not used in my vlc

Posted: 09 May 2016 18:10
by edwardw
Look at how the compile.sh script calls the contrib configure.