build: Be more strict when looking for a C compiler
In practice, this means that only Clang and GCC are accepted. https://github.com/containers/toolbox/pull/960
This commit is contained in:
parent
c28d902089
commit
d96faf0c1e
|
@ -7,6 +7,9 @@ project(
|
|||
)
|
||||
|
||||
cc = meson.get_compiler('c')
|
||||
if not cc.has_argument('-print-file-name=libc.so')
|
||||
error('C compiler does not support the -print-file-name argument.')
|
||||
endif
|
||||
|
||||
go = find_program('go')
|
||||
go_md2man = find_program('go-md2man')
|
||||
|
|
Loading…
Reference in New Issue