mirror of
https://github.com/psycopg/psycopg2.git
synced 2025-01-31 17:34:08 +03:00
Added additional library required for PostgreSQL 8.4.x
For MSVC, added an additional library to include that is required for PostgreSQL 8.4.x.
This commit is contained in:
parent
0f00ee129d
commit
69a8400e60
1
setup.py
1
setup.py
|
@ -174,6 +174,7 @@ class psycopg_build_ext(build_ext):
|
||||||
if compiler_is_msvc:
|
if compiler_is_msvc:
|
||||||
# MSVC requires an explicit "libpq"
|
# MSVC requires an explicit "libpq"
|
||||||
self.libraries.remove("pq")
|
self.libraries.remove("pq")
|
||||||
|
self.libraries.append("secur32")
|
||||||
self.libraries.append("libpq")
|
self.libraries.append("libpq")
|
||||||
self.libraries.append("shfolder")
|
self.libraries.append("shfolder")
|
||||||
for path in self.library_dirs:
|
for path in self.library_dirs:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user