PassL pragma

The passL pragma can be used to pass additional parameters to the linker like one would using the commandline switch --passL:

  1. {.passL: "-lSDLmain -lSDL".}

Note that one can use gorge from the system module to embed parameters from an external command that will be executed during semantic analysis:

  1. {.passL: gorge("pkg-config --libs sdl").}