Commit fd94545d authored by Ajay Patel's avatar Ajay Patel

sudo in Travis CI and only link user32 on windows

parent 71c49e36
Pipeline #36808902 failed with stages
in 3 minutes and 41 seconds
......@@ -26,9 +26,9 @@ script:
- export CI_CC="/usr/local/Cellar/gcc/8.2.0/bin/gcc-8 -static-libgcc"
- export GPP_LOC=$(which g++)
- which g++
- mv $GPP_LOC $GPP_LOC.bak
- sudo mv $GPP_LOC $GPP_LOC.bak
- ls -alh $GPP_LOC || true
- ln -s /usr/local/Cellar/gcc/8.2.0/bin/g++-8 $GPP_LOC
- sudo ln -s /usr/local/Cellar/gcc/8.2.0/bin/g++-8 $GPP_LOC
- ls -alh $GPP_LOC || true
- which g++
- $PIP install pip setuptools -U
......
......@@ -329,7 +329,7 @@ def get_modules(THIRD_PARTY, INTERNAL, PROJ_PATH,
libs = ([
"user32",
"Advapi32",
"Kernel32"] if os.path.basename(source) in windirent else [])
"Kernel32"] if (sys.platform == "win32" and os.path.basename(source) in windirent and) else [])
miscs.append(
Extension(
SO_PREFIX +
......
__version_info__ = ('0', '0', '68')
__version_info__ = ('0', '0', '69')
__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