Skip to content

Commit

Permalink
fix errors when install_in_site_package in meson.build.
Browse files Browse the repository at this point in the history
According to mesonbuild/meson#12601 ,
py.install_sources shouldn't use install_mode.
xiangluoming committed Dec 20, 2023
1 parent c5b1766 commit 458d8f5
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions howdy-gtk/meson.build
Original file line number Diff line number Diff line change
@@ -40,7 +40,6 @@ if get_option('install_in_site_packages')
sources,
py_paths,
subdir: 'howdy-gtk',
install_mode: 'r--r--r--',
install_tag: 'py_sources',
)
else
@@ -79,4 +78,4 @@ install_data(
install_mode: 'rwxr-xr-x',
install_dir: get_option('prefix') / get_option('bindir'),
install_tag: 'bin',
)
)
3 changes: 1 addition & 2 deletions howdy/src/meson.build
Original file line number Diff line number Diff line change
@@ -74,7 +74,6 @@ if get_option('install_in_site_packages')
py_sources,
subdir: 'howdy',
preserve_path: true,
install_mode: 'r--r--r--',
install_tag: 'py_sources',
)
else
@@ -167,4 +166,4 @@ install_data(
install_mode: 'rwxr-xr-x',
install_dir: get_option('bindir'),
install_tag: 'bin',
)
)

0 comments on commit 458d8f5

Please sign in to comment.