VirtualBox

Changeset 106843 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
Nov 6, 2024 1:48:54 AM (4 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
165755
Message:

Add/Nt/Installer: The VBoxGuestInstallHelper.dll must match the NSIS installer architecture, which is currently x86, so it must be built as x86 on arm as well. jiraref:VBP-1253

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Installer/InstallHelper/Makefile.kmk

    r106438 r106843  
    3333
    3434#
    35 # NSIS plugins always have to be compiled in 32-bit!
     35# Stripped down template for arm64.
     36#
     37TEMPLATE_VBoxGuestInstallerHelperTemplateWithFewerLibs                = hack
     38TEMPLATE_VBoxGuestInstallerHelperTemplateWithFewerLibs_EXTENDS       := VBoxGuestR3Dll
     39TEMPLATE_VBoxGuestInstallerHelperTemplateWithFewerLibs_LATE_LIBS.x86  = \
     40        $(filter-out %/VBoxGuestR3LibShared-x86.lib,$(TEMPLATE_VBoxGuestR3Dll_LATE_LIBS.x86))
     41
     42#
     43# NSIS plugins have to match the NSIS architecture, so 32-bit x86 in our case.
    3644#
    3745# Note! Installation is required for repacking Guest Additions
    3846#
    3947DLLS += VBoxGuestInstallHelper
    40 VBoxGuestInstallHelper_TEMPLATE        := VBoxGuestR3Dll
    41 if1of ($(KBUILD_TARGET_ARCH), amd64)
    42  VBoxGuestInstallHelper_BLD_TRG_ARCH    := x86
    43 endif
     48VBoxGuestInstallHelper_TEMPLATE        := VBoxGuestInstallerHelperTemplateWithFewerLibs
     49VBoxGuestInstallHelper_BLD_TRG_ARCH    := x86
    4450VBoxGuestInstallHelper_INST            := repackadd/resources/VBoxGuestInstallHelper/
    4551ifdef VBOX_SIGN_ADDITIONS # (See the parent makefile.)
     
    4753 VBoxGuestInstallHelper_DEBUG_INSTTYPE := both
    4854endif
    49 VBoxGuestInstallHelper_DEFS            := _WIN32_WINNT=0x0400 WIN32_LEAN_AND_MEAN=1 UNICODE _UNICODE
     55VBoxGuestInstallHelper_DEFS            := WIN32_LEAN_AND_MEAN=1 UNICODE _UNICODE
     56if1of ($(KBUILD_TARGET_ARCH), x86)
     57 VBoxGuestInstallHelper_DEFS           := _WIN32_WINNT=0x0400
     58 VBoxGuestInstallHelper_VBOX_IMPORT_CHECKER.win.x86 := nt4
     59else if1of ($(KBUILD_TARGET_ARCH), amd64)
     60 VBoxGuestInstallHelper_DEFS           := _WIN32_WINNT=0x0501
     61VBoxGuestInstallHelper_VBOX_IMPORT_CHECKER.win.x86  := xp
     62else
     63 VBoxGuestInstallHelper_DEFS           := _WIN32_WINNT=0x0a00
     64 VBoxGuestInstallHelper_VBOX_IMPORT_CHECKER.win.x86 := w8
     65endif
    5066VBoxGuestInstallHelper_SOURCES         := \
    5167        VBoxGuestInstallHelper.cpp \
    52         VBoxGuestInstallHelper.rc
    53 VBoxGuestInstallHelper_VBOX_IMPORT_CHECKER.win.x86 := nt4
     68        VBoxGuestInstallHelper.rc \
     69        $(PATH_ROOT)/src/VBox/Runtime/generic/RTLogWriteUser-generic.cpp
     70VBoxGuestInstallHelper_INCS            := \
     71        $(PATH_ROOT)/src/VBox/Runtime/include
    5472
    5573include $(FILE_KBUILD_SUB_FOOTER)
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