checksum: Fix checksum generation for pki if tools are disabled
[strongswan.git] / src / checksum / Makefile.am
index 0bc195b..27bc094 100644 (file)
@@ -101,6 +101,9 @@ endif
 
 if USE_TOOLS
   exes += $(DESTDIR)$(ipsecdir)/scepclient
 
 if USE_TOOLS
   exes += $(DESTDIR)$(ipsecdir)/scepclient
+endif
+
+if USE_PKI
   exes += $(DESTDIR)$(bindir)/pki
 endif
 
   exes += $(DESTDIR)$(bindir)/pki
 endif