GST-Tensordecoder-ov_ep/subprojects/packagefiles/gobject-introspection-1.84.0/0004-build-Fix-b_vscrt-value-use-without-converting-it-to.patch
L. E. Segovia b6d006f89c gobject-introspection: Update to 1.84.0
Fixes "ModuleNotFoundError: No module named 'distutils.msvccompiler'" when updating Python version

See https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8878

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8717>
2025-07-17 04:52:33 +00:00

27 lines
795 B
Diff

From a0b42aa4218bea84de902065f95d0e63bdb1c0d2 Mon Sep 17 00:00:00 2001
From: "L. E. Segovia" <amy@centricular.com>
Date: Wed, 4 Jun 2025 18:28:24 -0300
Subject: [PATCH 4/9] build: Fix b_vscrt value use without converting it to a
flag
---
meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meson.build b/meson.build
index 7b8bf1c3..8e944824 100644
--- a/meson.build
+++ b/meson.build
@@ -96,7 +96,7 @@ if cc.get_argument_syntax() == 'msvc'
msvc_crt_cflag = b_vscrt == 'static_from_buildtype' ? '/MT' : '/MD'
endif
else
- msvc_crt_cflag = b_vscrt
+ msvc_crt_cflag = '/' + b_vscrt
endif
extra_giscanner_cflags += msvc_crt_cflag
extra_giscanner_args = ['--cflags-begin'] + extra_giscanner_cflags + ['--cflags-end']
--
2.47.0.windows.2