better extension loading for the OpenGL wrapper

This commit is contained in:
Araq 2012-10-09 17:11:33 +02:00
commit cf06131dec
6 changed files with 40 additions and 10 deletions

View file

@ -300,7 +300,7 @@ proc MainCommand =
#registerPass(rodwrite.rodwritePass())
discard CompileModule(options.libpath / "system", {sfSystemModule})
service.serve(proc () =
let projectFile = gProjectFull
let projectFile = mainCommandArg()
discard CompileModule(projectFile, {sfMainModule})
)
else: rawMessage(errInvalidCommandX, command)