Changeset 561

Show
Ignore:
Timestamp:
02/26/07 14:52:07 (2 years ago)
Author:
dirk
Message:

Patch for MacOSX build (Thanks to Patrick Hartling for the patch!)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Source/Base/Network/Base/OSGBinaryMessage.inl

    r539 r561  
    172172{ 
    173173    Real32 net = *reinterpret_cast<Real32*>(&_buffer[_pos]); 
    174     value = osgNetToHost(net); 
     174    value = osgNetToHost<UInt32>(net); 
    175175    _pos += sizeof(net); 
    176176} 
  • trunk/Source/SConscript

    r531 r561  
    139139            if GetPlatform() == "win32": 
    140140                key = "PATH" 
     141            elif GetPlatform() == "darwin": 
     142                key = "DYLD_LIBRARY_PATH" 
    141143            else: 
    142144                key = "LD_LIBRARY_PATH" 
     
    147149                ev[key] = path 
    148150             
    149             exit_code = os.spawnle(os.P_WAIT, str(target[0]), ev) 
     151            prog = str(target[0]) 
     152            exit_code = os.spawnle(os.P_WAIT, prog, prog, ev) 
    150153             
    151154            if exit_code != 0: