VirtualBox

Changeset 39043 in vbox


Ignore:
Timestamp:
Oct 19, 2011 5:04:08 PM (13 years ago)
Author:
vboxsync
Message:

Config.kmk, mangling, Runtime: use static zlib for Solaris.

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r38834 r39043  
    24442444
    24452445SDK_VBOX_ZLIB         = .
    2446 if1of ($(KBUILD_TARGET), os2 win)
     2446if1of ($(KBUILD_TARGET), os2 solaris win)
    24472447 SDK_VBOX_ZLIB_INCS  ?= $(PATH_ROOT)/src/libs/zlib-1.2.1
    24482448 SDK_VBOX_ZLIB_LIBS  ?= $(PATH_STAGE_LIB)/VBox-zlib$(VBOX_SUFF_LIB)
  • trunk/include/iprt/mangling.h

    r38636 r39043  
    16821682 * Stable variables (alphabetical order):
    16831683 */
     1684# define g_apfnRTZlibDeps                               RT_MANGLGER(g_apfnRTZlibDeps) /* os2 win solaris */
    16841685# define g_aRTUniFlagsRanges                            RT_MANGLER(g_aRTUniFlagsRanges)
    16851686# define g_aRTUniLowerRanges                            RT_MANGLER(g_aRTUniLowerRanges)
     
    17091710/* none */
    17101711
    1711 
    17121712#endif /* !DOXYGEN_RUNNING */
    17131713
  • trunk/src/VBox/Runtime/common/zip/gzipvfs.cpp

    r39032 r39043  
    4141#include <zlib.h>
    4242
     43#if defined(RT_OS_OS2) || defined(RT_OS_SOLARIS) || defined(RT_OS_WINDOWS)
     44/**
     45 * Drag in the missing zlib symbols.
     46 */
     47PFNRT g_apfnRTZlibDeps[] =
     48{
     49    (PFNRT)gzrewind,
     50    (PFNRT)gzread,
     51    (PFNRT)gzopen,
     52    (PFNRT)gzwrite,
     53    (PFNRT)gzclose,
     54    (PFNRT)gzdopen,
     55    NULL
     56};
     57#endif /* RT_OS_OS2 || RT_OS_SOLARIS || RT_OS_WINDOWS */
    4358
    4459/*******************************************************************************
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