Fix makefile to link in rocprof* libs in epsdb mode
@@ -6,7 +6,7 @@ TESTSRC_MAIN = flangtrace.f90
TESTSRC_AUX = hiptrace.f90
TESTSRC_ALL = $(TESTSRC_AUX) $(TESTSRC_MAIN)
-TARGET += -Wl,--rpath,$(ROCM)/lib/ -lroctx64 -lroctracer64 -lamdhip64
+TARGET += -Wl,--rpath,$(ROCM)/lib/ -lroctx64 -lroctracer64 -lamdhip64 -L$(ROCM)/lib
FLANG = flang
OMP_BIN = $(AOMP)/bin/$(FLANG)
