Fix for master commit ad23dab (2016-04-27) as patch (instead of a script).
Tested with Mono 4.3.2 on openSUSE 13.2 (64 bit).
This could be committed to master. Nevertheless, it would probably break building with Mono < 4.0.
So if Mono < 4.0 support should be kept, some intelligent solution in autogen.sh / configure is needed.
Fix for master commit ad23dab (2016-04-27) as patch (instead of a script).
Tested with Mono 4.3.2 on openSUSE 13.2 (64 bit).
This could be committed to master. Nevertheless, it would probably break building with Mono < 4.0.
So if Mono < 4.0 support should be kept, some intelligent solution in autogen.sh / configure is needed.