Warning, /graphics/krita/3rdparty/ext_icu/0005-meson-Work-around-Meson-linking-bug-when-there-s-no-.patch is written in an unsupported language. File is not indexed.
0001 From b27004875781ecd59c631507121a81e87f0d11dd Mon Sep 17 00:00:00 2001 0002 From: "L. E. Segovia" <amy@amyspark.me> 0003 Date: Sun, 20 Nov 2022 14:09:06 -0300 0004 Subject: [PATCH 5/7] meson: Work around Meson linking bug when there's no C 0005 object present with MSVC 0006 0007 --- 0008 source/data/meson.build | 5 +++++ 0009 1 file changed, 5 insertions(+) 0010 0011 diff --git a/source/data/meson.build b/source/data/meson.build 0012 index 25dfd91..4a1bba5 100644 0013 --- a/source/data/meson.build 0014 +++ b/source/data/meson.build 0015 @@ -56,6 +56,11 @@ icudata_asm = custom_target( 0016 0017 sources = [icudata_asm] 0018 0019 +# Work around Meson bug -- https://github.com/mesonbuild/meson/issues/11083 0020 +if cpp.get_argument_syntax() == 'msvc' 0021 + sources += files('dummy.c') 0022 +endif 0023 + 0024 python_exe = import('python').find_installation('python3') 0025 0026 icudata_exports = custom_target( 0027 -- 0028 2.24.1.windows.2 0029