More os.pathsep

pull/4547/head
Daniel Mensinger 6 years ago
parent 477b69b505
commit ca808a0702
No known key found for this signature in database
GPG Key ID: 54DD94C131E277D4
  1. 2
      mesonbuild/compilers/java.py

@ -86,7 +86,7 @@ class JavaCompiler(Compiler):
if i in ['-cp', '-classpath', '-sourcepath'] and idx + 1 < len(parameter_list): if i in ['-cp', '-classpath', '-sourcepath'] and idx + 1 < len(parameter_list):
path_list = parameter_list[idx + 1].split(os.pathsep) path_list = parameter_list[idx + 1].split(os.pathsep)
path_list = [os.path.normpath(os.path.join(build_dir, x)) for x in path_list] path_list = [os.path.normpath(os.path.join(build_dir, x)) for x in path_list]
parameter_list[idx + 1] = ':'.join(path_list) parameter_list[idx + 1] = os.pathsep.join(path_list)
return parameter_list return parameter_list

Loading…
Cancel
Save