win-nasm: Error out if accidentally called on non-Windows
This commit is contained in:
parent
4720ef8767
commit
439dfa2955
@ -2,6 +2,10 @@ project('win-nasm', version : '2.14.02')
|
|||||||
|
|
||||||
py3 = import('python3').find_python()
|
py3 = import('python3').find_python()
|
||||||
|
|
||||||
|
if host_machine.system() != 'windows'
|
||||||
|
error('Can only download nasm for Windows, sorry')
|
||||||
|
endif
|
||||||
|
|
||||||
message('Downloading and extracting nasm binaries for Windows...')
|
message('Downloading and extracting nasm binaries for Windows...')
|
||||||
|
|
||||||
arch = host_machine.cpu_family()
|
arch = host_machine.cpu_family()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user