From ac04a8360e98a029daf9ee007c8b96c44a02da13 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Thu, 20 Feb 2025 16:51:52 +0100 Subject: [PATCH] fixup_bundle.windows: skip `shcore` API DLL names as well --- cmake/scripts/fixup_bundle.windows.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmake/scripts/fixup_bundle.windows.py b/cmake/scripts/fixup_bundle.windows.py index 853586e7c..6dfbbc693 100755 --- a/cmake/scripts/fixup_bundle.windows.py +++ b/cmake/scripts/fixup_bundle.windows.py @@ -160,6 +160,7 @@ class Library(object): msvc_runtimes = re.compile('MSVCP?[A-Z]*[0-9]*(_.*)?\\.dll') vc_runtimes = re.compile('VC[A-Z]*[0-9]*(_.*)?\\.dll') win_core_runtimes = re.compile('api-ms-win-core-.*\\.dll') + win_shcore_runtimes = re.compile('api-ms-win-shcore-.*\\.dll') win_rt_runtimes = re.compile('api-ms-win-crt-.*\\.dll') win_security_runtimes = re.compile('api-ms-win-security-.*\\.dll') win_downlevel_runtimes = re.compile('api-ms-win-downlevel-.*\\.dll') @@ -170,6 +171,8 @@ class Library(object): continue if win_core_runtimes.match(dep): continue + if win_shcore_runtimes.match(dep): + continue if win_rt_runtimes.match(dep): continue if win_security_runtimes.match(dep): -- GitLab