File tree Expand file tree Collapse file tree 4 files changed +94
-139
lines changed
test/integration/connection-pool Expand file tree Collapse file tree 4 files changed +94
-139
lines changed Original file line number Diff line number Diff line change 22 'targets' : [
33 {
44 'target_name' : 'binding' ,
5+ 'sources' : ['src/binding.cc' ],
6+ 'include_dirs' : [
7+ '<!@(pg_config --includedir)' ,
8+ '<!(node -e \' require("nan")\' )'
9+ ],
510 'conditions' : [
611 ['OS=="win"' , {
712 'conditions' : [
813 ['"<!@(cmd /C where /Q pg_config || echo n)"!="n"' ,
914 {
10- 'sources' : ['src/binding.cc' ],
11- 'include_dirs' : ['<!@(pg_config --includedir)' ],
1215 'libraries' : ['libpq.lib' ],
1316 'msvs_settings' : {
1417 'VCLinkerTool' : {
2427 'conditions' : [
2528 ['"y"!="n"' , # ToDo: add pg_config existance condition that works on linux
2629 {
27- 'sources' : ['src/binding.cc' ],
28- 'include_dirs' : ['<!@(pg_config --includedir)' ],
2930 'libraries' : ['-lpq -L<!@(pg_config --libdir)' ]
3031 }
3132 ]
Original file line number Diff line number Diff line change 1919 "main" : " ./lib" ,
2020 "dependencies" : {
2121 "generic-pool" : " 2.0.3" ,
22- "buffer-writer" : " 1.0.0"
22+ "buffer-writer" : " 1.0.0" ,
23+ "nan" : " ~0.6.0"
2324 },
2425 "devDependencies" : {
2526 "jshint" : " 1.1.0" ,
You can’t perform that action at this time.
0 commit comments