Merge bitcoin/bitcoin#28099: contrib: move user32.dll from bitcoind.exe libs

8c3850923300352f14dc3dde6a6ce6689ddef185 contrib: move user32.dll from bitcoind.exe libs (fanquake)

Pull request description:

  The user interface library is no-longer needed by `bitcoind.exe`, or utils, only `bitcoin-qt.exe`.
  Add missing doc.

ACKs for top commit:
  hebasto:
    ACK 8c3850923300352f14dc3dde6a6ce6689ddef185, I've verified imported libraries on a Windows machine with the `dumpbin /imports` command.

Tree-SHA512: f752a5b807341c87320523f4e7c564c8acdbfc1313054a684844035102a7c4695d34cfefb0c6904f3151b2dfdcb54d6ea243c570deceeda30345944251e4c513
This commit is contained in:
fanquake 2023-07-20 13:16:18 +01:00 committed by pasta
parent 2e162da06f
commit 621061459a
No known key found for this signature in database
GPG Key ID: E2F3D7916E722D38

View File

@ -144,22 +144,22 @@ PE_ALLOWED_LIBRARIES = {
'KERNEL32.dll', # win32 base APIs 'KERNEL32.dll', # win32 base APIs
'msvcrt.dll', # C standard library for MSVC 'msvcrt.dll', # C standard library for MSVC
'SHELL32.dll', # shell API 'SHELL32.dll', # shell API
'USER32.dll', # user interface
'WS2_32.dll', # sockets 'WS2_32.dll', # sockets
'bcrypt.dll', 'bcrypt.dll',
# bitcoin-qt only # bitcoin-qt only
'dwmapi.dll', # desktop window manager 'dwmapi.dll', # desktop window manager
'GDI32.dll', # graphics device interface 'GDI32.dll', # graphics device interface
'IMM32.dll', # input method editor 'IMM32.dll', # input method editor
'NETAPI32.dll', 'NETAPI32.dll', # network management
'ole32.dll', # component object model 'ole32.dll', # component object model
'OLEAUT32.dll', # OLE Automation API 'OLEAUT32.dll', # OLE Automation API
'SHLWAPI.dll', # light weight shell API 'SHLWAPI.dll', # light weight shell API
'USERENV.dll', 'USER32.dll', # user interface
'UxTheme.dll', 'USERENV.dll', # user management
'UxTheme.dll', # visual style
'VERSION.dll', # version checking 'VERSION.dll', # version checking
'WINMM.dll', # WinMM audio API 'WINMM.dll', # WinMM audio API
'WTSAPI32.dll', 'WTSAPI32.dll', # Remote Desktop
} }
def check_version(max_versions, version, arch) -> bool: def check_version(max_versions, version, arch) -> bool: