mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-16 18:25:57 +00:00
ICU-4642 attempt to build data on macosx
X-SVN-Rev: 18212
This commit is contained in:
parent
50a9f1c513
commit
31c40f93b8
1 changed files with 9 additions and 1 deletions
|
@ -67,6 +67,14 @@ sub main(){
|
|||
$ENV{'LD_LIBRARY_PATH'} = $libpath;
|
||||
|
||||
#print ("##### LD_LIBRARY_PATH = $ENV{'LD_LIBRARY_PATH'}\n");
|
||||
}elsif($platform eq "darwin"){
|
||||
$icuBinDir .= "/source/bin";
|
||||
$icuLibDir = abs_path($icuBinDir."/../lib");
|
||||
$path .=":$icuBinDir:$icuLibDir";
|
||||
|
||||
$libpath = $ENV{'DYLD_LIBRARY_PATH'}.":$icuLibDir";
|
||||
$ENV{'DYLD_LIBRARY_PATH'} = $libpath;
|
||||
|
||||
|
||||
}elsif($platform eq "MSWin32"){
|
||||
$icuBinDir =$icuRootDir."/bin";
|
||||
|
@ -119,7 +127,7 @@ sub buildICU{
|
|||
unlink($icuBuildDir."../");
|
||||
unlink($icuTestDataDir."../");
|
||||
|
||||
if($platform eq "cygwin"){
|
||||
if(($platform eq "cygwin")||($platform eq "darwin")){
|
||||
# make all in ICU
|
||||
cmd("make all", $verbose);
|
||||
chdir($icuSrcDataDir);
|
||||
|
|
Loading…
Add table
Reference in a new issue