Message-ID: <4FAD9053.90006@...1227...> Date: Sat, 12 May 2012 00:18:59 +0200 From: Arne Schwabe MIME-Version: 1.0 References: <4FAAF945.8070005@...1227...> <4FAAFCB4.8040606@...1227...> <4FAB0556.50903@...1227...> <1CED409804E2164C8104F9E623B08B9012D1CF8A98@...1436...> <1CED409804E2164C8104F9E623B08B9012D1CF8AB9@...1436...> <20120511185641.GZ1359@...1296...> <4FAD8A16.6020303@...1400...> In-Reply-To: Subject: Re: [Openvpn-devel] [PATCH] Openvpn for Android 4.0 Changeset List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit To: Alon Bar-Lev Cc: "openvpn-devel@lists.sourceforge.net" >> I would like you to try to do so using libtool... >> >> Just replace: >> --- >> sbin_PROGRAMS = openvpn >> openvpn_SOURCES = .... >> --- >> with: >> --- >> lib_LTLIBRARIES = openvpn.la >> openvpn_la_SOURCES = ... >> openvpn_la_LDFLAGS = \ >> -module -shared -avoid-version -no-undefined >> --- >> >> And add -Dmain=openvpn_main to AM_CFLAGS. >> >> Alon. > You should also change: > --- > openvpn_LDADD = ... > --- > to: > --- > openvpn_la_LDADD = ... > --- I can try this sometime later but for the moment I happy with building the openvpn with the android ndk build system as there a other things that I prefer to tweaking the build system. Arne