Commit 1e6a1f2c authored by Ajay Patel's avatar Ajay Patel

Link against Advapi32

parent 9fbf9355
Pipeline #36741269 failed with stages
in 16 minutes and 9 seconds
......@@ -461,7 +461,7 @@ def get_modules(THIRD_PARTY, INTERNAL, PROJ_PATH,
sources=[source] + [pyinit_source],
include_dirs=includes,
library_dirs=libraries,
libraries=["user32"] if sys.platform == "win32" else [],
libraries=["user32", "Advapi32"] if sys.platform == "win32" else [],
extra_compile_args=["-O4"],
extra_link_args=link_args))
return miscs
......
......@@ -891,7 +891,7 @@ complete SQLite API into Python.""",
["src/apsw.c", "src/sqlite3.c", "src/icu.cpp"], # PLASTICITY
include_dirs=include_dirs + include_plasticity, # PLASTICITY
library_dirs=library_dirs,
libraries=libraries + (["user32"] if sys.platform == "win32" else []), # PLASTICITY
libraries=libraries + (["user32", "Advapi32"] if sys.platform == "win32" else []), # PLASTICITY
define_macros=define_macros,
extra_compile_args=["-O4", "-std=c++11"], # PLASTICITY
extra_link_args=["-flto"], # PLASTICITY
......
......@@ -291,7 +291,7 @@ def get_setup_args():
include_dirs=include_dirs + include_plasticity, # PLASTICITY
library_dirs=library_dirs,
runtime_library_dirs=runtime_library_dirs,
libraries=libraries + (["user32"] if sys.platform == "win32" else []), # PLASTICITY
libraries=libraries + (["user32", "Advapi32"] if sys.platform == "win32" else []), # PLASTICITY
extra_objects=extra_objects,
define_macros=define_macros,
extra_compile_args=["-O4", "-std=c++11"], # PLASTICITY
......
__version_info__ = ('0', '0', '45')
__version_info__ = ('0', '0', '46')
__version__ = '.'.join(__version_info__)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment