Fix Windows build #246
|
@ -35,7 +35,7 @@ jobs:
|
|||
# the code assumes msvc style printf atm
|
||||
export CFLAGS=-D__USE_MINGW_ANSI_STDIO=0
|
||||
|
||||
meson -Dtests=false _build
|
||||
meson _build
|
||||
meson compile -C _build
|
||||
|
||||
debian-meson:
|
||||
|
|
|
@ -19,5 +19,5 @@ tests = [
|
|||
# yuck
|
||||
foreach test : tests
|
||||
test_file = configure_file(input: test + '.sh', output: test, copy: true)
|
||||
|
||||
run_command('chmod', '755', test_file, check : true)
|
||||
run_command(find_program('chmod', required : false, disabler : true), '755', test_file, check : true)
|
||||
endforeach
|
||||
|
|
Loading…
Reference in New Issue
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