[Lldb-commits] [lldb] [lldb][windows] fix link issue when building with MinGW (PR #180976)

Charles Zablit via lldb-commits lldb-commits at lists.llvm.org
Wed Feb 11 08:57:51 PST 2026


https://github.com/charles-zablit created https://github.com/llvm/llvm-project/pull/180976

Fix a link issue which was introduced by https://github.com/llvm/llvm-project/pull/179306 when building with MinGW.

LLVMSupport is not needed by `PythonPathSetup`. It's safe to remove it.

>From b9d85731e785be2ef511b0485b798e9cc2b05fa5 Mon Sep 17 00:00:00 2001
From: Charles Zablit <c_zablit at apple.com>
Date: Wed, 11 Feb 2026 16:55:31 +0000
Subject: [PATCH] [lldb][windows] fix link issue on MinGW

---
 lldb/source/Host/windows/PythonPathSetup/CMakeLists.txt | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/lldb/source/Host/windows/PythonPathSetup/CMakeLists.txt b/lldb/source/Host/windows/PythonPathSetup/CMakeLists.txt
index 6b84a7187160b..96f2b482b376f 100644
--- a/lldb/source/Host/windows/PythonPathSetup/CMakeLists.txt
+++ b/lldb/source/Host/windows/PythonPathSetup/CMakeLists.txt
@@ -1,8 +1,5 @@
 add_lldb_library(lldbHostPythonPathSetup STATIC
   PythonPathSetup.cpp
-
-  LINK_LIBS
-    LLVMSupport
 )
 
 if(DEFINED LLDB_PYTHON_DLL_RELATIVE_PATH)



More information about the lldb-commits mailing list