We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 955b6ca commit 32dca74Copy full SHA for 32dca74
src/ugrd/base/core.py
@@ -352,8 +352,9 @@ def autodetect_musl(self) -> None:
352
353
@unset("musl_libc", "Skipping ld.so.cache regeneration, musl_libc is enabled.", log_level=30)
354
def regen_ld_so_cache(self) -> None:
355
- """Regenerates the ld.so.cache file in the build dir"""
+ """Regenerates the ld.so.cache file in the build dir. Uses defined library paths to generate the config"""
356
self.logger.info("Regenerating ld.so.cache")
357
+ self._write("etc/ld.so.conf", self["library_paths"])
358
build_path = self._get_build_path("/")
359
self._run(["ldconfig", "-r", str(build_path)])
360
self["check_included_or_mounted"] = "etc/ld.so.cache"
0 commit comments