Skip to content

Commit

Permalink
equate libdir with the directory that libjulia was loaded from
Browse files Browse the repository at this point in the history
  • Loading branch information
waTeim committed Feb 22, 2015
1 parent 3652762 commit 61e78a3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions contrib/julia-config.jl
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ function imagePath()
end

function libDir()
@unix_only return match(r"(.*)(sys.ji)",imagePath()).captures[1];
@windows_only return Base.JULIA_HOME;
return abspath(dirname(Sys.dlpath("libjulia")));
end

function includeDir()
Expand Down

0 comments on commit 61e78a3

Please sign in to comment.