Build all shared libraries with -no-undefined and link them properly
authorTobias Brunner <tobias@strongswan.org>
Wed, 4 Sep 2013 12:25:22 +0000 (14:25 +0200)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Wed, 11 Sep 2013 23:44:49 +0000 (01:44 +0200)
commit9af44ef5d9534cf6a12c0ddd90f9cad5648dcd28
tree5a071b7524ed142b46210c2009b4c65b72465ce7
parent3cb4552da62fc5c1550aa5b46a9a52ae2a1737c6
Build all shared libraries with -no-undefined and link them properly

The flag is required to convince libtool on Cygwin to build DLLs. But on
Windows these shared libraries can not have undefined symbols, so we have to
link them explicitly to the libraries they reference.

For plugins this is currently not done, so only the monolithic build is
supported.  The plugin loader wouldn't be able to load DLLs anyway, as
it tries to load files that don't exist on Cygwin.
12 files changed:
src/libcharon/Makefile.am
src/libfast/Makefile.am
src/libhydra/Makefile.am
src/libimcv/Makefile.am
src/libipsec/Makefile.am
src/libpts/Makefile.am
src/libpttls/Makefile.am
src/libradius/Makefile.am
src/libsimaka/Makefile.am
src/libstrongswan/Makefile.am
src/libtls/Makefile.am
src/libtnccs/Makefile.am