Skip to content

Commit

Permalink
contrib: include private libdir in ldflags on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
topolarity committed Sep 4, 2024
1 parent e217f93 commit 5e83a95
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions contrib/julia-config.jl
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,7 @@ function ldlibs(doframework)
"julia"
end
if Sys.isunix()
return "-Wl,-rpath,$(shell_escape(libDir())) " *
(Sys.isapple() ? string() : "-Wl,-rpath,$(shell_escape(private_libDir())) ") *
"-l$libname"
return "-Wl,-rpath,$(shell_escape(libDir())) -Wl,-rpath,$(shell_escape(private_libDir())) -l$libname"
else
return "-l$libname -lopenlibm"
end
Expand Down

0 comments on commit 5e83a95

Please sign in to comment.