Skip to content

Commit 9ffc73e

Browse files
committed
enforce that rpath is being used and not be overwritten by LD_LIBRARY_PATH
1 parent 3a080d7 commit 9ffc73e

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)