VirtualBox

Changeset 14725

Show
Ignore:
Timestamp:
11/27/08 18:31:56 (1 month ago)
Author:
vboxsync
Message:

Main: use statically linked libhal on Linux, fix burns on Solaris

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/VBox/Main/HostImpl.cpp

    r14722 r14725  
    18871887//////////////////////////////////////////////////////////////////////////////// 
    18881888 
    1889 #if defined(RT_OS_LINUX) || defined(RT_OS_SOLARIS
    1890 # ifdef VBOX_WITH_LIBHAL  /* Linux, load libhal statically */ 
     1889#if defined(RT_OS_LINUX) && defined(VBOX_WITH_LIBHAL
     1890/* Linux, load libhal statically */ 
    18911891 
    18921892/** Helper function for setting up a libhal context */ 
     
    20652065} 
    20662066 
    2067 # elif defined VBOX_USE_LIBHAL  /* Solaris hosts, loading libhal at runtime */ 
     2067# elif defined(RT_OS_SOLARIS) && defined(VBOX_USE_LIBHAL) 
     2068/* Solaris hosts, loading libhal at runtime */ 
    20682069 
    20692070/** 
     
    23782379    return halSuccess; 
    23792380} 
    2380 # endif  /* VBOX_USE_HAL defined */ 
     2381#endif  /* VBOX_WITH_HAL and VBOX_USE_HAL */ 
     2382 
     2383#if defined(RT_OS_LINUX) || defined(RT_OS_SOLARIS) 
    23812384 
    23822385/** 

© 2008 Sun Microsystems, Inc.
ContactPrivacy policy