aboutsummaryrefslogtreecommitdiff
path: root/test cases
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2019-03-19 00:26:43 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2019-03-19 00:26:43 +0200
commit19eb0e762a81fa4cd411d9bee1ed0809f52f4716 (patch)
treec609d7e617069c1742c1c5fe4a4a9b2549d3beb2 /test cases
parent95f5a72f625358544f7a37782e7c94266a2867d4 (diff)
downloadmeson-19eb0e762a81fa4cd411d9bee1ed0809f52f4716.zip
meson-19eb0e762a81fa4cd411d9bee1ed0809f52f4716.tar.gz
meson-19eb0e762a81fa4cd411d9bee1ed0809f52f4716.tar.bz2
Win fixes.
Diffstat (limited to 'test cases')
-rwxr-xr-xtest cases/common/216 link custom/custom_stlib.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test cases/common/216 link custom/custom_stlib.py b/test cases/common/216 link custom/custom_stlib.py
index 925d997..37cf298 100755
--- a/test cases/common/216 link custom/custom_stlib.py
+++ b/test cases/common/216 link custom/custom_stlib.py
@@ -18,12 +18,12 @@ void flob() {
def generate_lib_gnulike(outfile, c_file, private_dir, compiler_array):
static_linker = 'ar'
o_file = c_file.with_suffix('.o')
- compile_cmd = compiler_array + ['-c', '-g', '-O2', '-o', o_file, c_file]
+ compile_cmd = compiler_array + ['-c', '-g', '-O2', '-o', str(o_file), str(c_file)]
subprocess.check_call(compile_cmd)
out_file = pathlib.Path(outfile)
if out_file.exists():
out_file.unlink()
- link_cmd = [static_linker, 'csrD', outfile, o_file]
+ link_cmd = [static_linker, 'csrD', outfile, str(o_file)]
subprocess.check_call(link_cmd)
return 0