aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2006-05-23 08:00:29 +0000
committerMartin Willi <martin@strongswan.org>2006-05-23 08:00:29 +0000
commit4acc8989ce04ce23532435c75d3a4406ed246f04 (patch)
tree9c7a3f6817744afd3551e756c4e4bf7eabf3c35d /src
parenta2744feb63d4fcc890701e742e21725a69f05e17 (diff)
downloadstrongswan-4acc8989ce04ce23532435c75d3a4406ed246f04.tar.bz2
strongswan-4acc8989ce04ce23532435c75d3a4406ed246f04.tar.xz
- fixed build when using --enable-leak-detective
Diffstat (limited to 'src')
-rw-r--r--src/libstrongswan/Makefile.am6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libstrongswan/Makefile.am b/src/libstrongswan/Makefile.am
index f7586e22e..84430998c 100644
--- a/src/libstrongswan/Makefile.am
+++ b/src/libstrongswan/Makefile.am
@@ -20,6 +20,12 @@ INCLUDES = -I$(top_srcdir)/src/libstrongswan
EXTRA_DIST = asn1/oid.txt asn1/oid.pl
DISTCLEANFILES = asn1/oid.c asn1/oid.h
+if USE_LEAK_DETECTIVE
+ libstrongswan_la_LIBADD += -ldl
+ AM_CFLAGS = -DLEAK_DETECTIVE
+endif
+
+
# TODO: get perl from ./configure
PERL=perl