Skip to content

Commit

Permalink
Add host_libdir to the LD_LIBRARY_PATH (#136)
Browse files Browse the repository at this point in the history
* 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 <giordano@users.noreply.github.com>
  • Loading branch information
barche and giordano authored Apr 18, 2021
1 parent f2112cf commit f8b99a4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Runner.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit f8b99a4

Please sign in to comment.