mirror of
https://github.com/psycopg/psycopg2.git
synced 2025-01-31 09:24:07 +03:00
Fixed --static-libpq setup option (ticket #64)
This commit is contained in:
parent
9870ca4dce
commit
1861e0010d
1
NEWS
1
NEWS
|
@ -7,6 +7,7 @@ What's new in psycopg 2.4.3
|
||||||
back into a pool. Also discard broken connections (ticket #62).
|
back into a pool. Also discard broken connections (ticket #62).
|
||||||
- Lazy import of the slow uuid module, thanks to Marko Kreen.
|
- Lazy import of the slow uuid module, thanks to Marko Kreen.
|
||||||
- Fixed NamedTupleCursor.executemany() (ticket #65).
|
- Fixed NamedTupleCursor.executemany() (ticket #65).
|
||||||
|
- Fixed --static-libpq setup option (ticket #64).
|
||||||
|
|
||||||
|
|
||||||
What's new in psycopg 2.4.2
|
What's new in psycopg 2.4.2
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -362,7 +362,7 @@ class psycopg_build_ext(build_ext):
|
||||||
|
|
||||||
self.include_dirs.append(".")
|
self.include_dirs.append(".")
|
||||||
if self.static_libpq:
|
if self.static_libpq:
|
||||||
if not hasattr(self, 'link_objects'):
|
if not getattr(self, 'link_objects', None):
|
||||||
self.link_objects = []
|
self.link_objects = []
|
||||||
self.link_objects.append(
|
self.link_objects.append(
|
||||||
os.path.join(pg_config_helper.query("libdir"), "libpq.a"))
|
os.path.join(pg_config_helper.query("libdir"), "libpq.a"))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user