Skip to content

Commit b4d01d9

Browse files
committed
improve location of private_libdir in julia-config.jl
1 parent 87601aa commit b4d01d9

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

base/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ endif
6262
@echo "const DATAROOTDIR = \"$(datarootdir_rel)\"" >> $@
6363
@echo "const DOCDIR = \"$(docdir_rel)\"" >> $@
6464
@echo "const LIBDIR = \"$(libdir_rel)\"" >> $@
65+
@echo "const PRIVATE_LIBDIR = \"$(private_libdir_rel)\"" >> $@
6566
@echo "const LIBEXECDIR = \"$(libexecdir_rel)\"" >> $@
6667
@echo "const INCLUDEDIR = \"$(includedir_rel)\"" >> $@
6768

contrib/julia-config.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ function libDir()
2323
end
2424
end
2525

26-
private_libDir() = joinpath(libDir(), "julia")
26+
private_libDir() = joinpath(JULIA_HOME, Base.PRIVATE_LIBDIR)
2727

2828
function includeDir()
2929
joinpath(match(r"(.*)(bin)",JULIA_HOME).captures[1],"include","julia")

0 commit comments

Comments
 (0)