Skip to content

Commit

Permalink
Fix ar invocation withour MRI script
Browse files Browse the repository at this point in the history
  • Loading branch information
keynmol committed Oct 7, 2023
1 parent 080620f commit 0b2fc11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/src/main/scala/scala/scalanative/build/LLVM.scala
Expand Up @@ -292,7 +292,7 @@ private[scalanative] object LLVM {
MRICompatibleAR match {
case None =>
val ar = Discover.discover("ar")
val command = Seq(ar.abs, "-cs") ++ stageFiles()
val command = Seq(ar.abs, "rc", config.buildPath.abs) ++ stageFiles()
config.logger.running(command)
Process(command, config.workDir.toFile())
case Some(path) => useMRIScript(path)
Expand Down

0 comments on commit 0b2fc11

Please sign in to comment.