Skip to content

Prefix linker and compiler flags for csc to pass through

username-removed-438903 requested to merge ckeen/chicken-sdl2:master into master

With this the output of sdl2-config gets prefixed properly, as some linker flags (e.g. "-R") are not recognised as such by csc.

Note that if the user provides her own flags via environment variables, the prefixing needs to be done manually there. The setup script cannot guess which flag is a compiler and which is a linker flag.

Merge request reports