diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2021-11-10 20:39:34 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-11-11 17:09:16 +0000 |
commit | e1691b1c84083a06b9ed44305f854375a8fbab37 (patch) | |
tree | a06ed67b91b4ef114d91318ee13c1a95eb4bf20a /meta/recipes-devtools/meson/meson/disable-rpath-handling.patch | |
parent | 5afc62d4914f71483435daf7ba45069e9c42a334 (diff) | |
download | poky-e1691b1c84083a06b9ed44305f854375a8fbab37.tar.gz |
meson: upgrade 0.59.2 -> 0.60.1
(From OE-Core rev: 687234cbac01608053c14cbab0fba6eecbba1b91)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/meson/meson/disable-rpath-handling.patch')
-rw-r--r-- | meta/recipes-devtools/meson/meson/disable-rpath-handling.patch | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/meta/recipes-devtools/meson/meson/disable-rpath-handling.patch b/meta/recipes-devtools/meson/meson/disable-rpath-handling.patch index 7c766c61b0..7aaed8b4a3 100644 --- a/meta/recipes-devtools/meson/meson/disable-rpath-handling.patch +++ b/meta/recipes-devtools/meson/meson/disable-rpath-handling.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 27bbd3c9d8d86de545fcf6608564a14571c98a61 Mon Sep 17 00:00:00 2001 | 1 | From 18600f7a1cddf23aeabd188f86e66983f27ccfe3 Mon Sep 17 00:00:00 2001 |
2 | From: Richard Purdie <richard.purdie@linuxfoundation.org> | 2 | From: Richard Purdie <richard.purdie@linuxfoundation.org> |
3 | Date: Fri, 23 Nov 2018 15:28:28 +0000 | 3 | Date: Fri, 23 Nov 2018 15:28:28 +0000 |
4 | Subject: [PATCH] meson: Disable rpath stripping at install time | 4 | Subject: [PATCH] meson: Disable rpath stripping at install time |
@@ -10,26 +10,28 @@ is a specific directive to do something differently in the project. | |||
10 | RP 2018/11/23 | 10 | RP 2018/11/23 |
11 | 11 | ||
12 | Upstream-Status: Submitted [https://github.com/mesonbuild/meson/issues/2567] | 12 | Upstream-Status: Submitted [https://github.com/mesonbuild/meson/issues/2567] |
13 | |||
14 | --- | 13 | --- |
15 | mesonbuild/minstall.py | 7 +++++-- | 14 | mesonbuild/minstall.py | 7 +++++-- |
16 | 1 file changed, 5 insertions(+), 2 deletions(-) | 15 | 1 file changed, 5 insertions(+), 2 deletions(-) |
17 | 16 | ||
18 | diff --git a/mesonbuild/minstall.py b/mesonbuild/minstall.py | 17 | diff --git a/mesonbuild/minstall.py b/mesonbuild/minstall.py |
19 | index 212568a..06366d4 100644 | 18 | index 7d0da13..17d50db 100644 |
20 | --- a/mesonbuild/minstall.py | 19 | --- a/mesonbuild/minstall.py |
21 | +++ b/mesonbuild/minstall.py | 20 | +++ b/mesonbuild/minstall.py |
22 | @@ -653,8 +653,11 @@ class Installer: | 21 | @@ -718,8 +718,11 @@ class Installer: |
23 | if file_copied: | 22 | if file_copied: |
24 | self.did_install_something = True | 23 | self.did_install_something = True |
25 | try: | 24 | try: |
26 | - self.fix_rpath(outname, t.rpath_dirs_to_remove, install_rpath, final_path, | 25 | - self.fix_rpath(outname, t.rpath_dirs_to_remove, install_rpath, final_path, |
27 | - install_name_mappings, verbose=False) | 26 | - install_name_mappings, verbose=False) |
28 | + if install_rpath: | 27 | + if install_rpath: |
29 | + self.fix_rpath(outname, t.rpath_dirs_to_remove, install_rpath, final_path, | 28 | + self.fix_rpath(outname, t.rpath_dirs_to_remove, install_rpath, final_path, |
30 | + install_name_mappings, verbose=False) | 29 | + install_name_mappings, verbose=False) |
31 | + else: | 30 | + else: |
32 | + print("RPATH changes at install time disabled") | 31 | + print("RPATH changes at install time disabled") |
33 | except SystemExit as e: | 32 | except SystemExit as e: |
34 | if isinstance(e.code, int) and e.code == 0: | 33 | if isinstance(e.code, int) and e.code == 0: |
35 | pass | 34 | pass |
35 | -- | ||
36 | 2.20.1 | ||
37 | |||