bitcore-node-zcash/binding.gyp

34 lines
792 B
Plaintext
Raw Normal View History

2014-08-12 12:03:04 -07:00
{
'targets': [{
'target_name': 'bitcoindjs',
'include_dirs' : [
'<!(node -e "require(\'nan\')")',
'<!(echo "$HOME")/bitcoin/src',
'<!(echo "$HOME")/bitcoin/src/leveldb/include',
'/usr/include/boost',
# include our own boost
#'./deps'
2014-08-12 12:03:04 -07:00
],
'sources': [
'./src/bitcoindjs.cc'
],
'defines': [
'HAVE_WORKING_BOOST_SLEEP'
#'HAVE_WORKING_BOOST_SLEEP_FOR'
],
'cflags_cc': [
'-fexceptions',
'-frtti'
2014-08-12 12:03:04 -07:00
],
'libraries': [
'-lutil',
# NOTE: rename this to bitcoind.o so we can statically link to it
'-L/home/user/bitcoin/src/bitcoind',
# statically link leveldb
'-L/home/user/bitcoin/src/leveldb/libleveldb.a',
2014-08-12 12:03:04 -07:00
'-L/usr/lib',
'-L/usr/local/lib'
]
}]
}