Skip to content

Commit f8550c7

Browse files
committed
fixed build broken under freebsd
1 parent 8ce808d commit f8550c7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

binding.gyp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@
1818
'include_dirs': ['<!@(pg_config --includedir)'],
1919
'libraries' : ['-lpq -L<!@(pg_config --libdir)']
2020
}],
21+
['OS=="freebsd"', {
22+
'include_dirs': ['<!@(pg_config --includedir)'],
23+
'libraries' : ['-lpq -L<!@(pg_config --libdir)']
24+
}],
2125
['OS=="win"', {
2226
'include_dirs': ['<!@(pg_config --includedir)'],
2327
'libraries' : ['libpq.lib'],

0 commit comments

Comments
 (0)