mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-14 23:27:47 +00:00
Merge pull request #155067 from NickCao/meson-ldconfig
[staging-next] meson: do not update ldconfig cache
This commit is contained in:
commit
306d5d24c1
@ -57,6 +57,10 @@ python3.pkgs.buildPythonApplication rec {
|
||||
# unsandboxed non-NixOS builds, see:
|
||||
# https://github.com/NixOS/nixpkgs/issues/86131#issuecomment-711051774
|
||||
./boost-Do-not-add-system-paths-on-nix.patch
|
||||
|
||||
# Meson tries to update ld.so.cache which breaks when the target architecture
|
||||
# differs from the build host's.
|
||||
./do-not-update-ldconfig-cache.patch
|
||||
];
|
||||
|
||||
setupHook = ./setup-hook.sh;
|
||||
|
@ -0,0 +1,12 @@
|
||||
diff --git a/mesonbuild/minstall.py b/mesonbuild/minstall.py
|
||||
index cb87faf5c..878ec4cd6 100644
|
||||
--- a/mesonbuild/minstall.py
|
||||
+++ b/mesonbuild/minstall.py
|
||||
@@ -551,7 +551,6 @@ class Installer:
|
||||
self.install_emptydir(d, dm, destdir, fullprefix)
|
||||
self.install_data(d, dm, destdir, fullprefix)
|
||||
self.restore_selinux_contexts(destdir)
|
||||
- self.apply_ldconfig(dm, destdir)
|
||||
self.run_install_script(d, destdir, fullprefix)
|
||||
if not self.did_install_something:
|
||||
self.log('Nothing to install.')
|
Loading…
Reference in New Issue
Block a user