mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 19:59:05 +08:00
f4de177097
* update meson and see what breaks * include patch again. * update meson to 0.62.1 * remove old patch * move to 64bit since 32bit not longer exists. * fix gobject-introspection * v db * revert nasm changes * set MESON_SCRIPT instead of MESON. * v db * apply CR Co-authored-by: Robert Schumacher <roschuma@microsoft.com> * v db Co-authored-by: Alexander Neumann <you@example.com> Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
30 lines
1012 B
Diff
30 lines
1012 B
Diff
diff --git a/giscanner/meson.build b/giscanner/meson.build
|
|
index e63a5ab78..3d7dc678a 100644
|
|
--- a/giscanner/meson.build
|
|
+++ b/giscanner/meson.build
|
|
@@ -97,11 +97,11 @@ giscanner_lib = static_library('giscanner',
|
|
dependencies: [glib_dep, gobject_dep, gio_dep, gmodule_dep],
|
|
)
|
|
|
|
# https://github.com/mesonbuild/meson/issues/4117
|
|
if host_machine.system() == 'windows'
|
|
+ python_ext_dep = libpython_dep
|
|
- python_ext_dep = python.dependency()
|
|
else
|
|
+ python_ext_dep = libpython_dep
|
|
- python_ext_dep = python.dependency().partial_dependency(compile_args: true)
|
|
endif
|
|
|
|
if not python_ext_dep.found()
|
|
diff --git a/meson.build b/meson.build
|
|
index 2a9d68556..cffe9014c 100644
|
|
--- a/meson.build
|
|
+++ b/meson.build
|
|
@@ -156,4 +156,5 @@ libffi_dep = dependency('libffi',
|
|
|
|
# python headers
|
|
-cc.check_header('Python.h', dependencies: [python.dependency()], required: true)
|
|
+libpython_dep = dependency('python-3.10', method : 'pkg-config')
|
|
+cc.check_header('Python.h', dependencies: [libpython_dep], required: true)
|
|
|