Don't link libtnccs to checksum_builder.

Linking is only required for libraries defining global symbols used by
plugins to which the plugins do not link themselves.
This commit is contained in:
Tobias Brunner
2011-11-08 18:35:11 +01:00
parent 48e87e12ab
commit 9192f78f70
2 changed files with 2 additions and 13 deletions
+2 -10
View File
@@ -23,10 +23,6 @@
#include <daemon.h>
#include <utils/enumerator.h>
#ifdef HAS_TNC
#include <tnc/tnc.h>
#endif
/* we need to fake the pluto symbol to dlopen() the xauth plugin */
void *pluto;
@@ -133,15 +129,11 @@ int main(int argc, char* argv[])
{
int i;
/* forces link against libhydra/libcharon */
/* forces link against libhydra/libcharon, imports symbols needed to
* dlopen plugins */
hydra = NULL;
charon = NULL;
#ifdef HAS_TNC
/* forces link against libtnccs */
tnc = NULL;
#endif
/* avoid confusing leak reports in build process */
setenv("LEAK_DETECTIVE_DISABLE", "1", 0);
/* don't use a strongswan.conf, forces integrity check to disabled */