From f5e870dcc031cf3dd023ab3351a0a4d2464ea085 Mon Sep 17 00:00:00 2001 From: Jason Erickson Date: Fri, 13 Nov 2020 12:05:20 -0700 Subject: [PATCH] Combine included libraries into one parameter build_ext only grabs one '-l' parameter, not multiple, which is weird as one time I thought it did. --- scripts/appveyor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/appveyor.py b/scripts/appveyor.py index 4b6cc85f..24aca672 100755 --- a/scripts/appveyor.py +++ b/scripts/appveyor.py @@ -326,7 +326,7 @@ def build_psycopg(): add_pg_config_path() run_python( ["setup.py", "build_ext", "--have-ssl"] - + ["-l", "libpgcommon", "-l", "libpgport"] + + ["-l", "libpgcommon libpgport"] + ["-L", opt.ssl_build_dir / 'lib'] + ['-I', opt.ssl_build_dir / 'include'] )