VirtualBox

Changeset 61591 in vbox for trunk/src/libs


Ignore:
Timestamp:
Jun 8, 2016 8:07:23 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
107933
Message:

Solaris: Ship libgcc_s.so.1 and libstdc++.so.6 (32-bit and 64-bit) for legacy systems which don't have there libraries. The binaries will find them in the package directory and need to have RPATH set accordingly.

Location:
trunk/src/libs/xpcom18a4
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/xpcom18a4/Config.kmk

    r60949 r61591  
    290290TEMPLATE_XPCOM-x86_DEFS             = $(TEMPLATE_XPCOM_DEFS) VBOX_IN_32_ON_64_MAIN_API
    291291TEMPLATE_XPCOM-x86_LIBS             = $(subst $(LIB_RUNTIME),$(VBOX_LIB_RUNTIME_X86),$(TEMPLATE_XPCOM_LIBS))
     292ifeq ($(KBUILD_TARGET),solaris)
     293 ifdef VBOX_WITH_RUNPATH
     294  TEMPLATE_XPCOM-x86_LDFLAGS = \
     295        $(filter-out '$(VBOX_GCC_RPATH_OPT)$(VBOX_WITH_RUNPATH)',$(TEMPLATE_XPCOM_LDFLAGS)) \
     296        '$(VBOX_GCC_RPATH_OPT)$(VBOX_PATH_APP_PRIVATE)' \
     297        '$(VBOX_GCC_RPATH_OPT)$(VBOX_WITH_RUNPATH)'
     298 endif
     299endif
    292300
    293301
  • trunk/src/libs/xpcom18a4/Makefile.kmk

    r60975 r61591  
    11061106TEMPLATE_XPCOMIPC-x86_BLD_TRG_ARCH = x86
    11071107TEMPLATE_XPCOMIPC-x86_LIBS         = $(VBoxXPCOM-x86_1_TARGET) $(TEMPLATE_XPCOM-x86_LIBS)
    1108 
     1108ifeq ($(KBUILD_TARGET),solaris)
     1109 ifdef VBOX_WITH_RUNPATH
     1110  TEMPLATE_XPCOMIPC-x86_LDFLAGS = \
     1111        $(filter-out '$(VBOX_GCC_RPATH_OPT)$(VBOX_WITH_RUNPATH)',$(TEMPLATE_XPCOMIPC_LDFLAGS)) \
     1112        '$(VBOX_GCC_RPATH_OPT)$(VBOX_PATH_APP_PRIVATE)' \
     1113        '$(VBOX_GCC_RPATH_OPT)$(VBOX_WITH_RUNPATH)'
     1114 endif
     1115endif
    11091116
    11101117TEMPLATE_XPCOMIPCEXE               = XPCOM IPC executables
Note: See TracChangeset for help on using the changeset viewer.

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