Commit 27c5a5ae by Dane Springmeyer

Merge pull request #225 from jeromew/node-sqlite3-rpath

add rpath linker option in binding.gyp when --sqlite option is used
parents 6157f8ce de0180cc
...@@ -12,7 +12,8 @@ ...@@ -12,7 +12,8 @@
'-L<@(sqlite)/lib', '-L<@(sqlite)/lib',
'-lsqlite3' '-lsqlite3'
], ],
'include_dirs': [ '<@(sqlite)/include' ] 'include_dirs': [ '<@(sqlite)/include' ],
'conditions': [ [ 'OS=="linux"', {'libraries+':['-Wl,-rpath=<@(sqlite)/lib']} ] ]
}, },
{ {
'dependencies': [ 'dependencies': [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment