Commit 24b43269 authored by Ajay Patel's avatar Ajay Patel

Fix Windows build by adding adding Advapi32 to every module

parent e60de260
Pipeline #36761339 canceled with stages
in 16 minutes and 46 seconds
......@@ -10,6 +10,7 @@ language: generic
os:
- linux
- osx
osx_image: xcode10.1
matrix:
exclude:
......@@ -17,8 +18,9 @@ matrix:
script:
- /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
- brew install gcc --without-multilib
- export CC="/usr/local/Cellar/gcc/8.2.0/bin/gcc-8"
- brew install [email protected] --without-multilib
- export CC="gcc-8"
- $PIP install pip setuptools -U
- $PIP install cibuildwheel==0.10.0
- eval "buildwheel() { cibuildwheel --output-dir wheelhouse >>buildwheel.log 2>&1; }"
......
......@@ -429,6 +429,7 @@ def get_modules(THIRD_PARTY, INTERNAL, PROJ_PATH,
sources=[SQLITE_POST] + icu_sources + [pyinit_source],
include_dirs=includes,
library_dirs=libraries,
libraries=["user32", "Advapi32"] if sys.platform == "win32" else [],
extra_compile_args=compile_args,
extra_link_args=link_args)
......@@ -446,6 +447,7 @@ def get_modules(THIRD_PARTY, INTERNAL, PROJ_PATH,
[pyinit_source]),
include_dirs=includes,
library_dirs=libraries,
libraries=["user32", "Advapi32"] if sys.platform == "win32" else [],
extra_compile_args=["-O4"],
extra_link_args=link_args)
......
__version_info__ = ('0', '0', '50')
__version_info__ = ('0', '0', '51')
__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