Merge pull request #290 from francoiscolas/master
fixed build broken under freebsd
This commit is contained in:
commit
e8f7649865
15
binding.gyp
15
binding.gyp
@ -6,18 +6,6 @@
|
|||||||
'src/binding.cc'
|
'src/binding.cc'
|
||||||
],
|
],
|
||||||
'conditions' : [
|
'conditions' : [
|
||||||
['OS=="mac"', {
|
|
||||||
'include_dirs': ['<!@(pg_config --includedir)'],
|
|
||||||
'libraries' : ['-lpq -L<!@(pg_config --libdir)']
|
|
||||||
}],
|
|
||||||
['OS=="linux"', {
|
|
||||||
'include_dirs': ['<!@(pg_config --includedir)'],
|
|
||||||
'libraries' : ['-lpq -L<!@(pg_config --libdir)']
|
|
||||||
}],
|
|
||||||
['OS=="solaris"', {
|
|
||||||
'include_dirs': ['<!@(pg_config --includedir)'],
|
|
||||||
'libraries' : ['-lpq -L<!@(pg_config --libdir)']
|
|
||||||
}],
|
|
||||||
['OS=="win"', {
|
['OS=="win"', {
|
||||||
'include_dirs': ['<!@(pg_config --includedir)'],
|
'include_dirs': ['<!@(pg_config --includedir)'],
|
||||||
'libraries' : ['libpq.lib'],
|
'libraries' : ['libpq.lib'],
|
||||||
@ -28,6 +16,9 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
}, { # OS!="win"
|
||||||
|
'include_dirs': ['<!@(pg_config --includedir)'],
|
||||||
|
'libraries' : ['-lpq -L<!@(pg_config --libdir)']
|
||||||
}]
|
}]
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user