diff options
author | Jason Erickson <jerickso@stickpeople.com> | 2009-10-07 23:44:00 -0600 |
---|---|---|
committer | Federico Di Gregorio <fog@initd.org> | 2009-10-08 13:18:55 +0200 |
commit | b5374044870469815ee75eebec52384d65ee02c0 (patch) | |
tree | 36770c289ff2c75f5cfd29519e1397b0304565a2 | |
parent | ac1b5ce68ac5974f33f2cb89d74ac62459276604 (diff) | |
download | psycopg2-b5374044870469815ee75eebec52384d65ee02c0.tar.gz |
Fixed --have_ssl command line parameter
Added initialization of have_ssl variable so passing --have_ssl on the
command line works.
-rw-r--r-- | setup.py | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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") |