summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2019-11-17 11:25:37 +0100
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2020-06-13 20:11:43 +0200
commitaefbc13e19af974156e76f0b8184dad41982ebfb (patch)
tree3ac6ccc9c9df49e537a173db84bd8cb1dd2565dd
parent504f488cce1e83c9e9f04176eab53f9471a8a063 (diff)
downloadrockbox-aefbc13e19af974156e76f0b8184dad41982ebfb.tar.gz
rockbox-aefbc13e19af974156e76f0b8184dad41982ebfb.zip
deploy: Add missing Windows system libraries to known list.
Building with mxe failed due to the toolchain (and Qt5) introducing dependencies to system libraries we don't know about. Commit 3083abeb95 thus ignored the actual problem. Revert that and instead add the missing system libraries to the list of known libraries. Change-Id: I29ac296765e580b751d3d906d58ab563d05efde2
-rwxr-xr-xutils/common/deploy.py21
1 files changed, 18 insertions, 3 deletions
diff --git a/utils/common/deploy.py b/utils/common/deploy.py
index 3f3b160752..571424756b 100755
--- a/utils/common/deploy.py
+++ b/utils/common/deploy.py
@@ -57,11 +57,21 @@ except ImportError:
57 57
58# == Global stuff == 58# == Global stuff ==
59# DLL files to ignore when searching for required DLL files. 59# DLL files to ignore when searching for required DLL files.
60systemdlls = ['advapi32.dll', 60systemdlls = [
61 'advapi32.dll',
61 'comdlg32.dll', 62 'comdlg32.dll',
63 'crypt32.dll',
64 'd3d9.dll',
65 'dwmapi.dll',
66 'dxva2.dll',
67 'evr.dll',
62 'gdi32.dll', 68 'gdi32.dll',
63 'imm32.dll', 69 'imm32.dll',
70 'imm32.dll',
71 'iphlpapi.dll',
64 'kernel32.dll', 72 'kernel32.dll',
73 'mf.dll',
74 'mfplat.dll',
65 'msvcrt.dll', 75 'msvcrt.dll',
66 'msvcrt.dll', 76 'msvcrt.dll',
67 'netapi32.dll', 77 'netapi32.dll',
@@ -70,9 +80,14 @@ systemdlls = ['advapi32.dll',
70 'setupapi.dll', 80 'setupapi.dll',
71 'shell32.dll', 81 'shell32.dll',
72 'user32.dll', 82 'user32.dll',
83 'userenv.dll',
84 'uxtheme.dll',
85 'version.dll',
73 'winmm.dll', 86 'winmm.dll',
74 'winspool.drv', 87 'winspool.drv',
75 'ws2_32.dll'] 88 'ws2_32.dll',
89 'wtsapi32.dll'
90 ]
76 91
77gitrepo = os.path.abspath(os.path.join(os.path.dirname(__file__), "../..")) 92gitrepo = os.path.abspath(os.path.join(os.path.dirname(__file__), "../.."))
78 93
@@ -347,7 +362,7 @@ def zipball(programfiles, versionstring, buildfolder, platform=sys.platform):
347 for f in programfiles: 362 for f in programfiles:
348 if re.match(r'^(/|[a-zA-Z]:)', f) != None: 363 if re.match(r'^(/|[a-zA-Z]:)', f) != None:
349 shutil.copy(f, outfolder) 364 shutil.copy(f, outfolder)
350 elif len(f) > 0: 365 else:
351 shutil.copy(buildfolder + "/" + f, outfolder) 366 shutil.copy(buildfolder + "/" + f, outfolder)
352 # create zipball from output folder 367 # create zipball from output folder
353 zf = zipfile.ZipFile(archivename, mode='w', compression=zipfile.ZIP_DEFLATED) 368 zf = zipfile.ZipFile(archivename, mode='w', compression=zipfile.ZIP_DEFLATED)