openbsd-ports/databases/node-sqlite3/patches/patch-binding_gyp
jasper 404e0ab28d import node-sqlite3 2.1.3
Asynchronous, non-blocking SQLite3 bindings for Node.JS.

from aaron bieber (MAINTAINER) with feedback from me and sthen@
ok sthen@
2012-05-10 10:46:17 +00:00

24 lines
511 B
Plaintext

$OpenBSD: patch-binding_gyp,v 1.1.1.1 2012/05/10 10:46:17 jasper Exp $
Build against the system sqlite3.
--- binding.gyp.orig Wed May 9 22:13:31 2012
+++ binding.gyp Wed May 9 22:14:00 2012
@@ -7,9 +7,13 @@
'src/node_sqlite3.cc',
'src/statement.cc'
],
- 'dependencies': [
- 'deps/sqlite3/binding.gyp:sqlite3'
- ]
+ 'link_settings': {
+ 'libraries': [
+ '-lsqlite3',
+ '-lm',
+ '-lstdc++'
+ ],
+ }
}
]
}