get our module compiling with all the headers.
This commit is contained in:
parent
5165d8a8e0
commit
6498426268
19
binding.gyp
19
binding.gyp
@ -3,13 +3,22 @@
|
|||||||
'target_name': 'bitcoindjs',
|
'target_name': 'bitcoindjs',
|
||||||
'include_dirs' : [
|
'include_dirs' : [
|
||||||
'<!(node -e "require(\'nan\')")',
|
'<!(node -e "require(\'nan\')")',
|
||||||
'/home/user/bitcoin/src',
|
'<!(echo "$HOME")/bitcoin/src',
|
||||||
'/home/user/bitcoin/src/leveldb/include',
|
'<!(echo "$HOME")/bitcoin/src/leveldb/include',
|
||||||
#'/usr/include/boost',
|
'/usr/include/boost',
|
||||||
'./deps/boost'
|
# include our own boost
|
||||||
|
#'./deps'
|
||||||
],
|
],
|
||||||
'sources': [
|
'sources': [
|
||||||
'src/bitcoindjs.cc'
|
'./src/bitcoindjs.cc'
|
||||||
|
],
|
||||||
|
'defines': [
|
||||||
|
'HAVE_WORKING_BOOST_SLEEP'
|
||||||
|
#'HAVE_WORKING_BOOST_SLEEP_FOR'
|
||||||
|
],
|
||||||
|
'cflags_cc': [
|
||||||
|
'-fexceptions',
|
||||||
|
'-frtti'
|
||||||
],
|
],
|
||||||
'libraries': [
|
'libraries': [
|
||||||
'-lutil',
|
'-lutil',
|
||||||
|
|||||||
@ -10,7 +10,6 @@
|
|||||||
|
|
||||||
// bitcoind headers:
|
// bitcoind headers:
|
||||||
#include "core.h"
|
#include "core.h"
|
||||||
/*
|
|
||||||
#include "addrman.h"
|
#include "addrman.h"
|
||||||
#include "checkpoints.h"
|
#include "checkpoints.h"
|
||||||
#include "crypter.h"
|
#include "crypter.h"
|
||||||
@ -61,7 +60,6 @@
|
|||||||
#include "protocol.h"
|
#include "protocol.h"
|
||||||
#include "threadsafety.h"
|
#include "threadsafety.h"
|
||||||
#include "version.h"
|
#include "version.h"
|
||||||
*/
|
|
||||||
|
|
||||||
#include <node.h>
|
#include <node.h>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user