Commit ae1aa28e authored by Peter Eisentraut's avatar Peter Eisentraut

Use correct ICU path for Windows 32 vs. 64 bit

Author: Ashutosh Sharma <ashu.coek88@gmail.com>
parent ec7129b7
...@@ -562,9 +562,18 @@ sub AddProject ...@@ -562,9 +562,18 @@ sub AddProject
if ($self->{options}->{icu}) if ($self->{options}->{icu})
{ {
$proj->AddIncludeDir($self->{options}->{icu} . '\include'); $proj->AddIncludeDir($self->{options}->{icu} . '\include');
$proj->AddLibrary($self->{options}->{icu} . '\lib\icuin.lib'); if ($self->{platform} eq 'Win32')
$proj->AddLibrary($self->{options}->{icu} . '\lib\icuuc.lib'); {
$proj->AddLibrary($self->{options}->{icu} . '\lib\icudt.lib'); $proj->AddLibrary($self->{options}->{icu} . '\lib\icuin.lib');
$proj->AddLibrary($self->{options}->{icu} . '\lib\icuuc.lib');
$proj->AddLibrary($self->{options}->{icu} . '\lib\icudt.lib');
}
else
{
$proj->AddLibrary($self->{options}->{icu} . '\lib64\icuin.lib');
$proj->AddLibrary($self->{options}->{icu} . '\lib64\icuuc.lib');
$proj->AddLibrary($self->{options}->{icu} . '\lib64\icudt.lib');
}
} }
if ($self->{options}->{xml}) if ($self->{options}->{xml})
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment