Skip to content

Commit

Permalink
meson: Build using Python 3.10 limited API
Browse files Browse the repository at this point in the history
This requires meson >= 1.3.0
  • Loading branch information
slyon committed Mar 25, 2024
1 parent 2d3f904 commit dd9c07f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ project('netplan', 'c',
'warning_level=2',
'werror=true',
],
meson_version: '>= 0.61.0',
meson_version: '>= 1.3.0',
)

glib = dependency('glib-2.0')
Expand Down
1 change: 1 addition & 0 deletions python-cffi/netplan/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ cffi_pyext = python.extension_module(
link_with: [libnetplan],
subdir: 'netplan',
install: true,
limited_api: '3.10',
)

bindings_sources = [
Expand Down

0 comments on commit dd9c07f

Please sign in to comment.