mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
win-nasm: Error out if accidentally called on non-Windows
This commit is contained in:
parent
4720ef8767
commit
439dfa2955
1 changed files with 4 additions and 0 deletions
|
@ -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…
Reference in a new issue