mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-26 02:43:43 +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
541b93279f
commit
a17cc0181a
|
@ -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