[Pkg-javascript-commits] [node-leveldown] 414/492: relative path to nan include dir, fixes #64

Andrew Kelley andrewrk-guest at moszumanska.debian.org
Sun Jul 6 17:14:24 UTC 2014


This is an automated email from the git hooks/post-receive script.

andrewrk-guest pushed a commit to annotated tag rocksdb-0.10.1
in repository node-leveldown.

commit 4579bb9857583e8ed34d598a55218d10dccb4420
Author: Rod Vagg <rod at vagg.org>
Date:   Wed Sep 18 10:05:11 2013 +1000

    relative path to nan include dir, fixes #64
---
 binding.gyp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/binding.gyp b/binding.gyp
index 368cebe..8178581 100644
--- a/binding.gyp
+++ b/binding.gyp
@@ -20,7 +20,7 @@
             "<(module_root_dir)/deps/leveldb/leveldb.gyp:leveldb"
         ]
       , "include_dirs"  : [
-            "<!(node -p -e \"require('path').dirname(require.resolve('nan'))\")"
+            "<!(node -p -e \"require('path').relative('.', require('path').dirname(require.resolve('nan')))\")"
         ]
       , "sources": [
             "src/batch.cc"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-leveldown.git



More information about the Pkg-javascript-commits mailing list