add ENABLE LABS global var to build cclib correctly with start.sh.
This commit is contained in:
@@ -7,7 +7,10 @@ make -f Makefile_rogue
|
||||
rm ../libcc.so
|
||||
cp librogue.so ../libcc.so
|
||||
|
||||
exit 0
|
||||
if [ "${LABS_FLAGS}" = "ENABLE_LABS" ]
|
||||
then
|
||||
exit
|
||||
fi
|
||||
|
||||
echo sudoku/musig/dilithium
|
||||
gcc -O3 -std=c++11 -I../secp256k1/include -I../univalue/include -I../cryptoconditions/include -I../cryptoconditions/src -I../cryptoconditions/src/asn -I.. -I. -fPIC -shared -c -o sudokucc.so cclib.cpp
|
||||
|
||||
@@ -33,9 +33,11 @@
|
||||
|
||||
#include <boost/filesystem/path.hpp>
|
||||
|
||||
// If CCLIB fails to compile with this, use the one below.
|
||||
//#include <db_cxx.h>
|
||||
#include "../depends/x86_64-unknown-linux-gnu/include/db_cxx.h"
|
||||
#ifdef BUILD_ROGUE
|
||||
#include "../depends/x86_64-unknown-linux-gnu/include/db_cxx.h"
|
||||
#else
|
||||
#include <db_cxx.h>
|
||||
#endif
|
||||
|
||||
extern unsigned int nWalletDBUpdated;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user