Skip to content

Commit

Permalink
"-rpath,$variable" not in LLVM's linker using = instead
Browse files Browse the repository at this point in the history
  • Loading branch information
Jooorgen committed Jun 27, 2023
1 parent cdff55d commit 6fa25ab
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions epochX/cudacpp/ee_mumu.mad/SubProcesses/cudacpp.mk
Original file line number Diff line number Diff line change
Expand Up @@ -477,11 +477,11 @@ ifeq ($(UNAME_S),Darwin)
override CULIBFLAGSRPATH2 =
else
# RPATH to cuda/cpp libs when linking executables
override CXXLIBFLAGSRPATH = -Wl,-rpath,$(LIBDIRRPATH)
override CULIBFLAGSRPATH = -Xlinker -rpath,$(LIBDIRRPATH)
override CXXLIBFLAGSRPATH = -Wl,-rpath=$(LIBDIRRPATH)
override CULIBFLAGSRPATH = -Xlinker -rpath=$(LIBDIRRPATH)
# RPATH to common lib when linking cuda/cpp libs
override CXXLIBFLAGSRPATH2 = -Wl,-rpath,'$$ORIGIN'
override CULIBFLAGSRPATH2 = -Xlinker -rpath,'$$ORIGIN'
override CXXLIBFLAGSRPATH2 = -Wl,-rpath='$$ORIGIN'
override CULIBFLAGSRPATH2 = -Xlinker -rpath='$$ORIGIN'
endif

# Setting LD_LIBRARY_PATH or DYLD_LIBRARY_PATH in the RUNTIME is no longer necessary (neither on Linux nor on Mac)
Expand Down

0 comments on commit 6fa25ab

Please sign in to comment.