1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-22 02:35:23 +03:00
aports/community/meld/fix-meson-pyc-compile.patch
2022-02-23 16:44:12 +00:00

8 lines
374 B
Diff

--- a/meson_post_install.py
+++ b/meson_post_install.py
@@ -19,4 +19,4 @@
if len(sys.argv) > 1:
print('Byte-compiling Python module...')
python_source_install_path = sys.argv[1]
- compile_dir(path.join(python_source_install_path, 'meld'), optimize=1)
+ compile_dir(path.join(environ.get('DESTDIR', '/'), python_source_install_path[1:], 'meld'), optimize=1)