mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-10 19:16:34 +03:00
parent
7aedc61d41
commit
c29b5cd46a
3
setup.py
3
setup.py
|
@ -351,7 +351,8 @@ class psycopg_build_ext(build_ext):
|
|||
self.libraries.append("advapi32")
|
||||
if self.compiler_is_msvc():
|
||||
# MSVC requires an explicit "libpq"
|
||||
self.libraries.remove("pq")
|
||||
if "pq" in self.libraries:
|
||||
self.libraries.remove("pq")
|
||||
self.libraries.append("secur32")
|
||||
self.libraries.append("libpq")
|
||||
self.libraries.append("shfolder")
|
||||
|
|
Loading…
Reference in New Issue
Block a user