[meson] limit check-libstdc++ check to 0.55
library(..., link_language: 'c') is introduced in 0.55 but we were relying on this anyway assuming b_asneeded being true on meson. #2614
This commit is contained in:
parent
9d3fbe0588
commit
11bb8aa83e
|
@ -712,7 +712,10 @@ if get_option('tests').enabled()
|
||||||
env.set('HBHEADERS', ' '.join(HBHEADERS))
|
env.set('HBHEADERS', ' '.join(HBHEADERS))
|
||||||
|
|
||||||
if cpp.get_id() != 'msvc' and not meson.is_cross_build() # ensure the local tools are usable
|
if cpp.get_id() != 'msvc' and not meson.is_cross_build() # ensure the local tools are usable
|
||||||
dist_check_script += ['check-libstdc++', 'check-static-inits', 'check-symbols']
|
if meson.version().version_compare('>=0.55')
|
||||||
|
dist_check_script += 'check-libstdc++'
|
||||||
|
endif
|
||||||
|
dist_check_script += ['check-static-inits', 'check-symbols']
|
||||||
endif
|
endif
|
||||||
|
|
||||||
foreach name : dist_check_script
|
foreach name : dist_check_script
|
||||||
|
|
Loading…
Reference in New Issue