Skip to content

Commit cc9eb37

Browse files
authored
Merge pull request #2627 from stan-dev/feature/issue-2626-respect-rpath
enforce that rpath is being used and not be overwritten by LD_LIBRARY…
2 parents 3a080d7 + 9ffc73e commit cc9eb37

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

make/compiler_flags

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ else
251251
CXXFLAGS_TBB ?= -I $(TBB)/include
252252
endif
253253

254-
LDFLAGS_TBB ?= -Wl,-L,"$(TBB_LIB)" -Wl,-rpath,"$(TBB_LIB)" -ltbb
254+
LDFLAGS_TBB ?= -Wl,-L,"$(TBB_LIB)" -Wl,-rpath,"$(TBB_LIB)" -Wl,--disable-new-dtags -ltbb
255255
LDLIBS_TBB ?= $(LDFLAGS_TBB)
256256

257257
else

0 commit comments

Comments
 (0)