diff --git a/projects/hip/bin/hipcc b/projects/hip/bin/hipcc index 941104926e..b3cae544a4 100755 --- a/projects/hip/bin/hipcc +++ b/projects/hip/bin/hipcc @@ -837,7 +837,7 @@ if ($HIP_PLATFORM eq "hcc" and $HIP_COMPILER eq "clang") { if (not $isWindows and not $compileOnly) { if ($linkType eq 0) { - $toolArgs .= " -L$HIP_LIB_PATH -lamdhip64_static -L$ROCM_PATH/lib -lhsa-runtime64 -ldl -lnuma "; + $toolArgs .= " -L$HIP_LIB_PATH -lamdhip64 -L$ROCM_PATH/lib -lhsa-runtime64 -ldl -lnuma "; } else { $toolArgs .= " -Wl,--enable-new-dtags -Wl,--rpath=$HIP_LIB_PATH:$ROCM_PATH/lib -lhip_hcc -lnuma "; }