VirtualBox

Changeset 14725 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Nov 27, 2008 5:31:56 PM (16 years ago)
Author:
vboxsync
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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/**
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette