[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:
Ebrahim Byagowi 2020-08-02 00:47:21 +04:30 committed by GitHub
parent 9d3fbe0588
commit 11bb8aa83e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -712,7 +712,10 @@ if get_option('tests').enabled()
env.set('HBHEADERS', ' '.join(HBHEADERS))
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
foreach name : dist_check_script