From f8b99a44e2906f54bb9c909087d959256d8d5106 Mon Sep 17 00:00:00 2001 From: Bart Janssens Date: Sun, 18 Apr 2021 20:43:51 +0200 Subject: [PATCH] Add host_libdir to the LD_LIBRARY_PATH (#136) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Add host_libdir to the LD_LIBRARY_PATH This may be needed to run tools included in a HostBuildDependency, as in Qt6. * Update src/Runner.jl Co-authored-by: Mosè Giordano --- src/Runner.jl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Runner.jl b/src/Runner.jl index 3236c4b3..9bb38b46 100644 --- a/src/Runner.jl +++ b/src/Runner.jl @@ -915,6 +915,8 @@ function platform_envs(platform::AbstractPlatform, src_name::AbstractString; "/lib64:/lib", # Add our CSL libraries for all architectures that can natively run within this environment csl_paths(host_platform), + # Libdir of the host platform, to run programs in `HostBuildDependency` + "$(host_libdir)", # Add our target/host-specific library directories for compiler support libraries target_lib_dir(host_platform), target_lib_dir(platform),