aboutsummaryrefslogtreecommitdiffstats
path: root/src/openac
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2006-05-18 06:22:37 +0000
committerMartin Willi <martin@strongswan.org>2006-05-18 06:22:37 +0000
commit7626bef673a10b774db65c76e09d6c1f7056be83 (patch)
tree13c3fafcc3b518e80157061f10d642a213da8478 /src/openac
parent32d24cb5132efd8b9b4109a10a74fb01193bd765 (diff)
downloadstrongswan-7626bef673a10b774db65c76e09d6c1f7056be83.tar.bz2
strongswan-7626bef673a10b774db65c76e09d6c1f7056be83.tar.xz
- fixed compliation error using --enable-smartcard
Diffstat (limited to 'src/openac')
-rw-r--r--src/openac/Makefile.am5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/openac/Makefile.am b/src/openac/Makefile.am
index d36313fa1..e83cd12ed 100644
--- a/src/openac/Makefile.am
+++ b/src/openac/Makefile.am
@@ -8,6 +8,11 @@ openac_LDADD = ac.o asn1.o ca.o certs.o constants.o crl.o defs.o mp_defs.o fetch
$(top_srcdir)/src/libfreeswan/libfreeswan.a $(top_srcdir)/src/libcrypto/libcrypto.a \
-lgmp
+# This compile option activates smartcard support
+if USE_SMARTCARD
+ openac_LDADD += -ldl
+endif
+
dist_man_MANS = openac.8
PLUTODIR=$(top_srcdir)/src/pluto