polish win path order

This commit is contained in:
Dun Liang 2021-10-05 19:59:30 +08:00
parent ad015f13f5
commit 66d9df2f82
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@
# file 'LICENSE.txt', which is part of this source code package.
# ***************************************************************
__version__ = '1.3.0.6'
__version__ = '1.3.0.7'
from jittor_utils import lock
with lock.lock_scope():
ori_int = int

View File

@ -1092,7 +1092,7 @@ if os.name == 'nt':
if path not in win_libpaths:
win_libpaths[path] = 1
os.add_dll_directory(path)
os.environ["PATH"] += f";{path};"
os.environ["PATH"] = f";{path};" + os.environ["PATH"]
output2.append("-LIBPATH:"+f[2:])
elif ".lib" in f:
output2.append(f)