--- a/src/Futhark/Actions.hs
+++ b/src/Futhark/Actions.hs
@@ -385,7 +385,7 @@
           jsonpath = outpath `addExtension` "json"
           extra_options =
             [ "-lamdhip64",
-              "-lhiprtc"
+              "-lhiprtc-builtins"
             ]
       case mode of
         ToLibrary -> do
