Fix checking when libgdi is configured as "sibling"
authorAndrea Canciani <ranma42@gmail.com>
Wed, 21 May 2014 17:28:20 +0000 (19:28 +0200)
committerAndrea Canciani <ranma42@gmail.com>
Wed, 21 May 2014 17:28:20 +0000 (19:28 +0200)
commitc9304c42620ffea6364eff8bbab2985cffef5b08
tree29eefa283488f7fb28f8cf501bd7c09f5b0d10c7
parent3598b336cf2b8beb07f5f6d70b77cc38b698abb8
Fix checking when libgdi is configured as "sibling"

When libgdiplus is configured as sibling, it is available in the
libgdiplus_loc path. This path was added to runtime/mono/config, but
it was later overridden by the prefix-based path.

Using the same approach as for libMonoPosixHelper fixed the lookup of
the library (performed, for example, when testing
MonoTests.System.Drawing without installing libgdiplus).

This change is released under the MIT license.
runtime/Makefile.am