cannot prefer dynamic linking when performing LTO
When tyring to compile librsvg with lto enabled, I get this error.
error: cannot prefer dynamic linking when performing LTO
note: only 'staticlib', 'bin', and 'cdylib' outputs are supported with LTO
error: aborting due to previous error
error: could not compile proc-macro-hack
Here is the full log.