VirtualBox

Changeset 106683 in vbox for trunk/src/libs/xpcom18a4


Ignore:
Timestamp:
Oct 25, 2024 10:28:28 AM (5 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
165553
Message:

/Config.kmk,*.kmk: Changed the LIBS properties on all templates to LATE_LIBS to help solve library ordering issues. Only tested on win.amd64. jiraref:1253

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

Legend:

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

    r106535 r106683  
    165165
    166166# When using IPRT in NSRP or/and using IPRT for logging, link with IPRT.
    167 TEMPLATE_XPComDll_LIBS               += $(LIB_RUNTIME)
     167TEMPLATE_XPComDll_LATE_LIBS          += $(LIB_RUNTIME)
    168168
    169169
     
    182182        $(VBOX_PATH_SDK)/bindings/xpcom/include/ipcd \
    183183        .
    184 TEMPLATE_XPComExe_LIBS             = \
     184TEMPLATE_XPComExe_LATE_LIBS        = \
    185185        $(VBox-xpcom-ipcshared_1_TARGET) \
    186186        $(VBoxXPCOM_1_TARGET) \
    187         $(TEMPLATE_XPComDll_LIBS)
    188 TEMPLATE_XPComExe_LIBS.freebsd    = $(LIB_PTHREAD)
    189 TEMPLATE_XPComExe_LIBS.linux       = dl $(LIB_PTHREAD)
     187        $(TEMPLATE_XPComDll_LATE_LIBS)
     188TEMPLATE_XPComExe_LATE_LIBS.freebsd = $(LIB_PTHREAD)
     189TEMPLATE_XPComExe_LATE_LIBS.linux  = dl $(LIB_PTHREAD)
    190190TEMPLATE_XPComExe_LDFLAGS.darwin   = -bind_at_load $(filter-out -current_version -compatibility_version $(VBOX_VERSION_MAJOR).$(VBOX_VERSION_MINOR).$(VBOX_VERSION_BUILD),$(TEMPLATE_XPComDll_LDFLAGS.darwin))
    191191
     
    233233TEMPLATE_XPComBldProg_LDFLAGS.darwin     = $(TEMPLATE_VBoxAdvBldProg_LDFLAGS.darwin)      -fpascal-strings -fshort-wchar -fno-rtti -fno-exceptions
    234234TEMPLATE_XPComBldProg_ORDERDEPS          = $(foreach hdrinst, $(filter %-HEADERS, $(INSTALLS)), $($(hdrinst)_1_TARGET))
    235 TEMPLATE_XPComBldProg_LIBS.darwin        = \
     235TEMPLATE_XPComBldProg_LATE_LIBS.darwin   = \
    236236        iconv
    237237
     
    255255TEMPLATE_XPComDll-x86_BLD_TRG_ARCH     = x86
    256256TEMPLATE_XPComDll-x86_DEFS             = $(TEMPLATE_XPComDll_DEFS) VBOX_IN_32_ON_64_MAIN_API
    257 TEMPLATE_XPComDll-x86_LIBS             = $(subst $(LIB_RUNTIME),$(VBOX_LIB_RUNTIME_X86),$(TEMPLATE_XPComDll_LIBS))
     257TEMPLATE_XPComDll-x86_LATE_LIBS        = $(subst $(LIB_RUNTIME),$(VBOX_LIB_RUNTIME_X86),$(TEMPLATE_XPComDll_LATE_LIBS))
    258258
    259259
  • trunk/src/libs/xpcom18a4/Makefile.kmk

    r106535 r106683  
    764764 TEMPLATE_XPComIpcDll_DEFS           += IPC_LOGGING
    765765endif
    766 TEMPLATE_XPComIpcDll_LIBS             = $(VBoxXPCOM_1_TARGET) $(TEMPLATE_XPComDll_LIBS)
     766TEMPLATE_XPComIpcDll_LATE_LIBS        = $(VBoxXPCOM_1_TARGET) $(TEMPLATE_XPComDll_LATE_LIBS)
    767767ifneq ($(KBUILD_TARGET),win)
    768768 ifeq ($(filter-out solaris.x86 %.amd64 %.sparc32 %.sparc64,$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)),) ## TODO: cleanup!
     
    780780TEMPLATE_XPComIpcDll-x86_EXTENDS      = XPComIpcDll
    781781TEMPLATE_XPComIpcDll-x86_BLD_TRG_ARCH = x86
    782 TEMPLATE_XPComIpcDll-x86_LIBS         = $(VBoxXPCOM-x86_1_TARGET) $(TEMPLATE_XPComDll-x86_LIBS)
     782TEMPLATE_XPComIpcDll-x86_LATE_LIBS    = $(VBoxXPCOM-x86_1_TARGET) $(TEMPLATE_XPComDll-x86_LATE_LIBS)
    783783
    784784TEMPLATE_XPComIpcExe               = XPCOM IPC executables
     
    836836        $(VBox-xpcom-ipcshared_1_TARGET) \
    837837        $(VBoxXPCOM_1_TARGET) \
    838         $(TEMPLATE_XPComDll_LIBS)
     838        $(TEMPLATE_XPComDll_LATE_LIBS)
    839839
    840840
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