Questions about static linking have come up in the past. What is the current best practice to support that conditionally on Linux but not other platforms? The easiest way to link a binary statically is to add
(link_flags (:standard -cclib -static))
executable stanza. Is it possible to add this conditionally? Or is it better to organise this in some profile?