Fix Windows build #246
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "pal1000/pkgconf:fix-win-build-tests-feature"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
Regression from #244.
@ -19,5 +19,7 @@ tests = [
# yuck
foreach test : tests
test_file = configure_file(input: test + '.sh', output: test, copy: true)
curious- the configure_file here can take a
install_mode: 'rwxr-xr-x'
argument, perhaps that works on windows too?install_mode
is set at install time bymeson install
. I'm going to add abuild_mode
to thefs.copyfile()
function, which is the replacement forconfigure_file(copy : true)
(its a lot of historical baggage thatconfigure_file()
is used to copy files.As promised: https://github.com/mesonbuild/meson/pull/10744
aha, thanks for the information! that looks much better once that lands in
the
ci: Fix syntac error
title also has a typo in it (syntax
)6a59466e1b
toad1fe45f4e
@ -20,3 +20,3 @@
foreach test : tests
test_file = configure_file(input: test + '.sh', output: test, copy: true)
run_command('chmod', '755', test_file, check : true)
if host_machine.system() != 'windows'
that's the wrong fix, that will break building on msys, which reports windows but very much has chmod
something like:
Is a more robust solution.
ad1fe45f4e
tob8593a3af5
Is this good to merge yet, or no?
Yes, however someone deamed the chmod usage unnecessary here.
Pull request closed