Skip to content

Commit

Permalink
Readding -rpath
Browse files Browse the repository at this point in the history
  • Loading branch information
Jooorgen committed Jun 26, 2023
1 parent bdfc44b commit 2ffbf6b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions epochX/cudacpp/ee_mumu.mad/SubProcesses/cudacpp.mk
Original file line number Diff line number Diff line change
Expand Up @@ -467,12 +467,10 @@ ifeq ($(UNAME_S),Darwin)
else
# RPATH to cuda/cpp libs when linking executables
override CXXLIBFLAGSRPATH = -Wl,-rpath,$(LIBDIRRPATH)
override CULIBFLAGSRPATH =
# -Xlinker -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 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 2ffbf6b

Please sign in to comment.