Merge pull request #1 from boldx/build_static_linker_args_fix
Fixes build_static error "ld: cannot find -lm -lcrypto".
This commit is contained in:
commit
5b557deffd
1 changed files with 1 additions and 1 deletions
2
setup.py
2
setup.py
|
|
@ -103,7 +103,7 @@ class AmalgationLibSqliteBuilder(build_ext):
|
|||
|
||||
if sys.platform != "win32":
|
||||
# Include math library, required for fts5, and crypto.
|
||||
ext.extra_link_args.append("-lm -lcrypto")
|
||||
ext.extra_link_args.extend(["-lm", "-lcrypto"])
|
||||
else:
|
||||
# Try to locate openssl.
|
||||
openssl_conf = os.environ.get('OPENSSL_CONF')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue