Skip to content

Commit f413312

Browse files
sethknilfm99
authored andcommitted
Treat MSYS2/MSYS64/Cygwin like Windows when configuring.
1 parent 3ece4d4 commit f413312

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

libvmaf/meson.build

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ libvmaf_inc = include_directories(['include'])
2020

2121
# Arguments in test_args will be used even on feature tests
2222
test_args = []
23-
if host_machine.system() == 'linux' or host_machine.system() == 'windows'
23+
if host_machine.system() == 'linux' or host_machine.system() == 'windows' or host_machine.system() == 'cygwin'
2424
test_args += '-D_GNU_SOURCE'
2525
add_project_arguments('-D_GNU_SOURCE', language: ['c', 'cpp'])
2626
elif host_machine.system() == 'darwin'

libvmaf/src/meson.build

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ if is_asm_enabled
8989
cdata_asm.set10('PIC', true)
9090
config_asm_target = configure_file(output: 'config.asm', output_format: 'nasm', configuration: cdata_asm)
9191

92-
if host_machine.system() == 'windows'
92+
if host_machine.system() == 'windows' or host_machine.system() == 'cygwin'
9393
nasm_format = 'win'
9494
elif host_machine.system() == 'darwin'
9595
nasm_format = 'macho'

0 commit comments

Comments
 (0)