Changeset 18188

Show
Ignore:
Timestamp:
12.12.2008 13:38:24 (11 years ago)
Author:
max
Message:

Allow wvWare binary to find the required libraries on Linux and Mac.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/setup.bash

    r17673 r18188  
    159159  PATH=$PATH:$GSDLHOME/bin/script:$GSDLHOME/bin/$GSDLOS 
    160160  export PATH 
     161   
     162  # Allow wvWare binary to find the required libraries. 
     163        if test "$GSDLOS" = "linux" ; then 
     164            LD_LIBRARY_PATH="$GSDLHOME/bin/$GSDLOS/wvWare_libs:$LD_LIBRARY_PATH" 
     165            export LD_LIBRARY_PATH 
     166         
     167        elif test "$GSDLOS" = "darwin" ; then 
     168            DYLD_LIBRARY_PATH="$GSDLHOME/bin/$GSDLOS/wvWare_libs:$DYLD_LIBRARY_PATH" 
     169            export DYLD_LIBRARY_PATH 
     170        fi 
    161171 
    162172