1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
Description: build against system libraries
The default behavior of this module is to build against a bundled leveldb
and snappy. This patch makes this module build against libleveldb-dev and
libsnappy-dev.
Author: Andrew Kelley <superjoe30@gmail.com>
Forwarded: not-needed
Last-Update: 2014-6-29
--- node-leveldown-0.10.2.orig/binding.gyp
+++ node-leveldown-0.10.2/binding.gyp
@@ -21,11 +21,9 @@
, 'cflags!': [ '-fno-tree-vrp' ]
}]
]
- , "dependencies": [
- "<(module_root_dir)/deps/leveldb/leveldb.gyp:leveldb"
- ]
- , "include_dirs" : [
- "<!(node -e \"require('nan')\")"
+ , "libraries": [
+ "-lleveldb",
+ "-lsnappy"
]
, "sources": [
"src/batch.cc"
|