summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorJason Erickson <jerickso@stickpeople.com>2009-10-07 23:44:00 -0600
committerFederico Di Gregorio <fog@initd.org>2009-10-08 13:18:55 +0200
commitb5374044870469815ee75eebec52384d65ee02c0 (patch)
tree36770c289ff2c75f5cfd29519e1397b0304565a2 /setup.py
parentac1b5ce68ac5974f33f2cb89d74ac62459276604 (diff)
downloadpsycopg2-b5374044870469815ee75eebec52384d65ee02c0.tar.gz
Fixed --have_ssl command line parameter
Added initialization of have_ssl variable so passing --have_ssl on the command line works.
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index 51b443a..de0d47b 100644
--- a/setup.py
+++ b/setup.py
@@ -106,6 +106,8 @@ class psycopg_build_ext(build_ext):
self.use_pg_dll = 1
self.pgdir = None
self.mx_include_dir = None
+ self.use_pydatetime = 1
+ self.have_ssl = have_ssl
self.pg_config = self.autodetect_pg_config_path()
@@ -184,7 +186,7 @@ class psycopg_build_ext(build_ext):
if os.path.isfile(os.path.join(path, "ms", "libpq.lib")):
self.library_dirs.append(os.path.join(path, "ms"))
break
- if have_ssl:
+ if self.have_ssl:
self.libraries.append("libeay32")
self.libraries.append("ssleay32")
self.libraries.append("user32")