[ndnSIM] build: A few custom hacks to cryptopp detection script
Change-Id: Id2c0f08bb350044a9c8ef15ec24087e5791e3140
diff --git a/.waf-tools/cryptopp.py b/.waf-tools/cryptopp.py
index 8244d53..7f6c9b0 100644
--- a/.waf-tools/cryptopp.py
+++ b/.waf-tools/cryptopp.py
@@ -27,7 +27,7 @@
CRYPTOPP_VERSION_FILE = 'config.h'
CRYPTOPP_CHECK_FRAGMENT = '''
-#include "../../src/security/cryptopp.hpp"
+#include "../../src/ndnSIM/ndn-cxx/src/security/cryptopp.hpp"
#include <iostream>
int
@@ -101,7 +101,7 @@
self.fatal('CryptoPP not found or is not usable')
isLibWorking = False
- for defines in ['', 'CRYPTOPP_DISABLE_ASM']:
+ for defines in [[], ['CRYPTOPP_DISABLE_ASM']]:
try:
self.check_cxx(msg='Checking if CryptoPP library works',
fragment=CRYPTOPP_CHECK_FRAGMENT,