[meson] Don't compile test-bimap on msvc either

MSVC doens't like its NullPool,

test-bimap.cc.obj : error LNK2019: unresolved external symbol "unsigned __int64 const * const _hb_NullPool" (?_hb_NullPool@@3QB_KB) referenced in function
pull/2278/head
Ebrahim Byagowi 5 years ago
parent 22f311e100
commit f0ce56bbd0
  1. 2
      src/meson.build

@ -409,12 +409,12 @@ compiled_tests = {
'test-number': ['test-number.cc', 'hb-number.cc'], 'test-number': ['test-number.cc', 'hb-number.cc'],
'test-ot-tag': 'hb-ot-tag.cc', 'test-ot-tag': 'hb-ot-tag.cc',
'test-unicode-ranges': 'test-unicode-ranges.cc', 'test-unicode-ranges': 'test-unicode-ranges.cc',
'test-bimap': ['test-bimap.cc', 'hb-static.cc'],
} }
if cpp.get_id() != 'msvc' if cpp.get_id() != 'msvc'
# TODO: MSVC doesn't like these, fix them # TODO: MSVC doesn't like these, fix them
compiled_tests += { compiled_tests += {
'test-algs': ['test-algs.cc', 'hb-static.cc'], 'test-algs': ['test-algs.cc', 'hb-static.cc'],
'test-bimap': ['test-bimap.cc', 'hb-static.cc'],
'test-iter': ['test-iter.cc', 'hb-static.cc'], 'test-iter': ['test-iter.cc', 'hb-static.cc'],
'test-meta': ['test-meta.cc', 'hb-static.cc'], 'test-meta': ['test-meta.cc', 'hb-static.cc'],
} }

Loading…
Cancel
Save