Skip to content

Commit

Permalink
Unconditionally append lib/julia to rpath, fixes #31903. (#31933)
Browse files Browse the repository at this point in the history
  • Loading branch information
fredrikekre authored May 6, 2019
1 parent aa7ae5a commit 040a3e5
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Make.inc
Original file line number Diff line number Diff line change
Expand Up @@ -1033,10 +1033,7 @@ else ifeq ($(OS), Darwin)
RPATH_ESCAPED_ORIGIN := $(RPATH_ORIGIN)
RPATH_LIB := -Wl,-rpath,'@loader_path/julia/' -Wl,-rpath,'@loader_path/'
else
RPATH := -Wl,-rpath,'$$ORIGIN/$(build_libdir_rel)' -Wl,-rpath-link,$(build_shlibdir) -Wl,-z,origin
ifeq ($(OS), FreeBSD)
RPATH += -Wl,-rpath,'$$ORIGIN/$(build_private_libdir_rel)'
endif
RPATH := -Wl,-rpath,'$$ORIGIN/$(build_libdir_rel)' -Wl,-rpath,'$$ORIGIN/$(build_private_libdir_rel)' -Wl,-rpath-link,$(build_shlibdir) -Wl,-z,origin
RPATH_ORIGIN := -Wl,-rpath,'$$ORIGIN' -Wl,-z,origin
RPATH_ESCAPED_ORIGIN := -Wl,-rpath,'\$$\$$ORIGIN' -Wl,-z,origin -Wl,-rpath-link,$(build_shlibdir)
RPATH_LIB := -Wl,-rpath,'$$ORIGIN/julia' -Wl,-rpath,'$$ORIGIN' -Wl,-z,origin
Expand Down

0 comments on commit 040a3e5

Please sign in to comment.