Fix ucol_setMaxVariable detection for Gentoo Linux (dotnet/coreclr#5309)
authorPeter Jas <necmon@yahoo.com>
Mon, 30 May 2016 09:54:02 +0000 (12:54 +0300)
committerJan Vorlicek <janvorli@microsoft.com>
Mon, 30 May 2016 09:54:02 +0000 (11:54 +0200)
commit03dddf54baddca400cfb780a0420144dbd5f0675
tree92e1bd7faafcb5909c65e8111d472a9c2441f598
parentadd044b2433f5fd3b35ec8f9c8b1c556dc304d29
Fix ucol_setMaxVariable detection for Gentoo Linux (dotnet/coreclr#5309)

The issue was the symbol is exported by the ICU lib. Including headers
was not enough. The linker requires the libraries to succeed.

With this fix, CoreCLR successfully builds on Gentoo Linux 100%.
Tested with LXC gentoo container on Ubuntu machine.

Steps to configure and build:
https://gist.github.com/jasonwilliams200OK/1a2e2c0e904ffa95faf6333fcd88d9b8

Fix dotnet/coreclr#5160

Commit migrated from https://github.com/dotnet/coreclr/commit/352df35c124104586ee4c977556cb50ce720af62
src/coreclr/src/corefx/System.Globalization.Native/configure.cmake