gentoo/dev-python/meson-python/files/meson-python-0.5.0-defaults.patch
2022-06-12 09:47:21 +01:00

24 lines
819 B
Diff

See https://github.com/FFY00/meson-python/blob/main/mesonpy/__init__.py#L452.
(Also: https://github.com/FFY00/meson-python/issues/54)
--- a/mesonpy/__init__.py
+++ b/mesonpy/__init__.py
@@ -452,7 +452,7 @@ class Project():
f'--native-file={os.fspath(self._meson_native_file)}',
# TODO: Allow configuring these arguments
'-Ddebug=false',
- '-Dstrip=true',
+ '-Dstrip=false',
'-Doptimization=2',
*setup_args,
)
@@ -464,7 +464,7 @@ class Project():
@functools.lru_cache(maxsize=None)
def build(self) -> None:
- self._meson('compile')
+ self._meson('compile', '--verbose')
self._meson('install', '--destdir', os.fspath(self._install_dir))
@classmethod