Skip to content

Commit f8b99a4

Browse files
barchegiordano
andauthored
Add host_libdir to the LD_LIBRARY_PATH (#136)
* 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 <[email protected]>
1 parent f2112cf commit f8b99a4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Runner.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -915,6 +915,8 @@ function platform_envs(platform::AbstractPlatform, src_name::AbstractString;
915915
"/lib64:/lib",
916916
# Add our CSL libraries for all architectures that can natively run within this environment
917917
csl_paths(host_platform),
918+
# Libdir of the host platform, to run programs in `HostBuildDependency`
919+
"$(host_libdir)",
918920
# Add our target/host-specific library directories for compiler support libraries
919921
target_lib_dir(host_platform),
920922
target_lib_dir(platform),

0 commit comments

Comments
 (0)