Fix ICU libs detection when ICU resources are in

a separate directory
This commit is contained in:
Volo Zyko committed 2021-06-09 21:32:40 +03:00
1 parent dc9c5c50be
commit d604d1702e
2 files changed
+26

No files matched your search

+4
View File
@@ -28,6 +28,10 @@ void print_error(UErrorCode err, const char* func)
int main()
{
#ifdef ICU_DATA_DIR
::u_setDataDirectory(ICU_DATA_DIR);
#endif
// To detect possible binary mismatches between the installed ICU build, and whatever
// C++ std lib's we're using, we need to:
// * Make sure we call ICU C++ API's