On Sat, May 12, 2012 at 11:10 AM, Gert Doering <g...@greenie.muc.de> wrote: > Hi, > > On Fri, May 11, 2012 at 11:52:22PM +0200, Arne Schwabe wrote: >> Am 11.05.12 20:56, schrieb Gert Doering: >> > Changing the build environment to build a shared library out of openvpn >> > is something I do not fully understand yet, though - and don't view >> > a particular useful goal right now. >> The shared library is not used as real shared library. I build >> libopenvpn as complete library and then build a miniature executable >> that calls the main method of the shared library and therefore exactly >> behaves like openvpn as executable. >> >> The reason for this is that libraries are managed by the android package >> system. For executables I have to carry them as data files and write >> them to a cache partition. By putting the main code into the library I >> can minimise the amount of data that is written twice to the /data >> parition on Android. > > I'm still not sure I fully understand what Android is doing there - but > I don't need to :-) - so that explanation is good enough for me. > > gert
Gert, even if we don't understand the android details, it is obvious that either: a. upstream should merge and maintain yet another parallel build system. b. downstream should maintain another parallel build. This should be absolutely avoided if there are alternatives before accepting any explanation. Alon.