Windows: gst-python INSTSONAME is not a valid variable name
When building version 1.24.0 of gst-python with MSVC on Windows, I am getting the following error: meson.build:57:23: ERROR: INSTSONAME is not a valid variable name
. This looks like it was introduced in !6159 (merged). The full build log is:
(tar) Exporting gst-python
Building project gst-python (1.24.0)
The Meson build system
Version: 1.3.2
Source dir: C:\gtk-build\build\x64\release\gst-python
Build dir: C:\gtk-build\build\x64\release\gst-python\_gvsbuild-meson
Build type: native build
Project name: gst-python
Project version: 1.24.0
DEPRECATION: None of the values ['gnu99'] are supported by the c compiler.
However, the deprecated gnu99 std currently falls back to c99.
This will be an error in the future.
If the project supports both GNU and MSVC compilers, a value such as
"c_std=gnu11,c11" specifies that GNU is prefered but it can safely fallback to plain c11.
C compiler for the host machine: cl (msvc 19.39.33521 "Microsoft (R) C/C++ Optimizing Compiler Version 19.39.33521 for x64")
C linker for the host machine: link link 14.39.33521.0
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: YES (C:\gtk-build\gtk\x64\release\bin\pkg-config.EXE) 2.1.1
Run-time dependency gstreamer-1.0 found: YES 1.24.0
Run-time dependency gstreamer-base-1.0 found: YES 1.24.0
Run-time dependency gmodule-no-export-2.0 found: YES 2.80.0
Library dl found: NO
Run-time dependency pygobject-3.0 found: YES 3.46.0
Program C:\gtk-build\github\gvsbuild\.venv\Scripts\python found: YES (C:\gtk-build\github\gvsbuild\.venv\Scripts\python.EXE)
WARNING: Using a debug build type with MSVC or an MSVC-compatible compiler
when the Python interpreter is not also a debug build will almost
certainly result in a failed build. Prefer using a release build
type or a debug Python interpreter.
Run-time dependency python found: YES 3.12
Message: python_abi_flags =
meson.build:57:23: ERROR: INSTSONAME is not a valid variable name