Changeset 23708


Ignore:
Timestamp:
2011-02-15T20:20:50+13:00 (13 years ago)
Author:
ak19
Message:

Additional changes to the setup.pl to include those changes to the PATH that windows' setup.bat makes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gs2-extensions/pdf-box/trunk/java/pdf-box-setup.pl

    r23703 r23708  
    2626   
    2727    if (-d $ext_lib) {
    28     if ($ENV{'GSDLOS'} =~ m/darwin/i) {
     28    if ($ENV{'GSDLOS'} =~ m/windows/i) {
     29        &util::envvar_prepend("PATH",$ext_lib);
     30    }
     31    elsif ($ENV{'GSDLOS'} =~ m/darwin/i) {
    2932        &util::envvar_prepend("DYLD_LIBRARY_PATH",$ext_lib);
    3033    }
    31     else {
     34    else { # linux
    3235        &util::envvar_prepend("LD_LIBRARY_PATH",$ext_lib);
    3336    }
     37    }
     38
     39    if ($ENV{'GSDLOS'} =~ m/windows/i) {
     40    $ENV{'GS_CP_SET'} = "yes";
    3441    }
    3542
Note: See TracChangeset for help on using the changeset viewer.