We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9132075 commit 569f757Copy full SHA for 569f757
binding.gyp
@@ -5,8 +5,8 @@
5
'sources': [
6
'src/binding.cc'
7
],
8
- 'include_dirs': ['/usr/include/postgresql'],
9
- 'libraries' : ['-lpq']
+ 'include_dirs': ['<!@(pg_config --includedir)'],
+ 'libraries' : ['-lpq -L<!@(pg_config --libdir)']
10
}
11
]
12
0 commit comments