1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
|
Description: correct node_sqlite3.node path
Packaging ship only the release version of node_sqlite3.node in the same lib
directory like the other parts of node-sqlite3 .
Author: Laszlo Boszormenyi (GCS) <gcs@debian.org>
Last-Update: 2013-12-05
---
--- node-sqlite3-2.1.19+ds1.orig/lib/binary_name.js
+++ node-sqlite3-2.1.19+ds1/lib/binary_name.js
@@ -35,10 +35,13 @@ Binary.prototype.getBasePath = function(
}
Binary.prototype.getRequirePath = function(configuration) {
+ return './' + this.filename();
+/*
return './' + path.join('binding',
configuration || this.configuration,
this.getBasePath(),
this.filename());
+*/
}
Binary.prototype.getModuleAbi = function() {
@@ -56,4 +59,4 @@ Binary.prototype.getRemotePath = functio
return this.uri+this.configuration+'/'+this.getArchivePath();
}
-module.exports.Binary = Binary;
\ No newline at end of file
+module.exports.Binary = Binary;
|