cleaned up binding.gyp file
This commit is contained in:
parent
f8550c7321
commit
8cfefb1efd
19
binding.gyp
19
binding.gyp
@ -6,22 +6,6 @@
|
||||
'src/binding.cc'
|
||||
],
|
||||
'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=="freebsd"', {
|
||||
'include_dirs': ['<!@(pg_config --includedir)'],
|
||||
'libraries' : ['-lpq -L<!@(pg_config --libdir)']
|
||||
}],
|
||||
['OS=="win"', {
|
||||
'include_dirs': ['<!@(pg_config --includedir)'],
|
||||
'libraries' : ['libpq.lib'],
|
||||
@ -32,6 +16,9 @@
|
||||
]
|
||||
},
|
||||
}
|
||||
}, { # OS!="win"
|
||||
'include_dirs': ['<!@(pg_config --includedir)'],
|
||||
'libraries' : ['-lpq -L<!@(pg_config --libdir)']
|
||||
}]
|
||||
]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user