[gimp] build: do not search again dependencies of already done system DLLs.



commit de44059aee0aaa136167a22f0ef3644aaaee9ed6
Author: Jehan <jehan girinstud io>
Date:   Sat Feb 19 19:16:10 2022 +0100

    build: do not search again dependencies of already done system DLLs.

 build/windows/gitlab-ci/dll_link.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/build/windows/gitlab-ci/dll_link.py b/build/windows/gitlab-ci/dll_link.py
index ea3bcf9f38..91802b6392 100755
--- a/build/windows/gitlab-ci/dll_link.py
+++ b/build/windows/gitlab-ci/dll_link.py
@@ -102,7 +102,7 @@ def find_dependencies(obj, srcdirs):
     # Parse lines with DLL Name instead of lib*.dll directly
     for match in re.finditer(r"DLL Name: *(\S+.dll)", out, re.MULTILINE):
       dll = match.group(1)
-      if dll not in dlls:
+      if dll not in dlls and os.path.basename(dll) not in sys_dlls:
         dlls.add(dll)
         find_dependencies(dll, srcdirs)
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]