Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
devel/meson: temporarily disable ldconfig after 665e4e5
$ su root -c 'meson install -C foo_build' $ meson ld-elf.so.1: Shared object "libpython3.8.so.1.0" not found, required by "python3.8" PR: 259080
- Loading branch information
Showing
3 changed files
with
18 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
https://github.com/mesonbuild/meson/issues/9592 | ||
|
||
--- mesonbuild/minstall.py.orig 2021-11-02 19:58:13 UTC | ||
+++ mesonbuild/minstall.py | ||
@@ -247,6 +247,11 @@ def apply_ldconfig(dm: DirMaker) -> None: | ||
''' | ||
Apply ldconfig to update the ld.so.cache. | ||
''' | ||
+ from .mesonlib import is_linux | ||
+ if not is_linux(): | ||
+ # Don't blindly assume GNU semantics on other systems | ||
+ return | ||
+ | ||
if not shutil.which('ldconfig'): | ||
# If we don't have ldconfig, failure is ignored quietly. | ||
return |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters