mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-10 19:16:34 +03:00
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.
This commit is contained in:
parent
87dc783bc6
commit
f5e870dcc0
|
@ -326,7 +326,7 @@ def build_psycopg():
|
||||||
add_pg_config_path()
|
add_pg_config_path()
|
||||||
run_python(
|
run_python(
|
||||||
["setup.py", "build_ext", "--have-ssl"]
|
["setup.py", "build_ext", "--have-ssl"]
|
||||||
+ ["-l", "libpgcommon", "-l", "libpgport"]
|
+ ["-l", "libpgcommon libpgport"]
|
||||||
+ ["-L", opt.ssl_build_dir / 'lib']
|
+ ["-L", opt.ssl_build_dir / 'lib']
|
||||||
+ ['-I', opt.ssl_build_dir / 'include']
|
+ ['-I', opt.ssl_build_dir / 'include']
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user