Library switches lazarus / 21-General ---------------------------------------------------------------------- anonymousstranger · 2021-01-21 04:42 I'm on a windows machine. In documentation it says I need to add a -WR switch if using multiple libraries. Ok, but where and how? ---------------------------------------------------------------------- PascalDragon · 2021-01-21 07:45 If you use FPC directly you simply pass -WR on the command line. In Lazarus you have this option available in Project Settings -> Compiler Settings -> Compilation and Linking -> Unit Style. And even if it wouldn't be available in the UI you can add custom options (like on the command line) in Project Settings -> Compiler Settings -> Custom Settings.