Fix flang-tracekernel makefile to find rocm lib for tracing
@@ -14,7 +14,8 @@ CC = $(OMP_BIN) $(VERBOSE)
#-ccc-print-phases
#"-\#\#\#"
-RUNENV += PATH=$(ROCM)/bin:$(PATH) LIBOMPTARGET_KERNEL_TRACE=2
+LIBPATH = $(AOMP)/lib:/opt/rocm/lib
+RUNENV += PATH=$(ROCM)/bin:$(PATH) LD_LIBRARY_PATH=$(LIBPATH):$(LD_LIBRARY_PATH) LIBOMPTARGET_KERNEL_TRACE=2
RUNPROF = rocprof --roctx-trace --sys-trace
include ../Makefile.rules
