Skip to content

Commit

Permalink
Fix #461 regression, thanks @HappyDawn for the report
Browse files Browse the repository at this point in the history
  • Loading branch information
nddrylliog committed Feb 11, 2013
1 parent df886d4 commit be13e87
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/rock/frontend/drivers/Flags.ooc
Expand Up @@ -205,15 +205,15 @@ Flags: class {
}

if(params enableGC) {
addLinkerFlag("-lpthread")

if(params dynGC) {
addLinkerFlag("-lgc")
} else {
arch := params arch equals?("") ? Target getArch() : params arch
libPath := "libs/" + Target toString(arch) + "/libgc.a"
addLinkerFlag(File new(params distLocation, libPath) path)
}

addLinkerFlag("-lpthread")
}
}

Expand Down

0 comments on commit be13e87

Please sign in to comment.