mirror of
https://github.com/microsoft/debugpy.git
synced 2025-12-23 08:48:12 +00:00
pydevd: Fix up prefix of attach shared library for Windows (#1939)
Follow-up to #1917, which changed the prefix for Windows. The crux of that contribution was about enabling attaching on Sillicon Mac (in fact, it came from my colleagues at Zed Industries). This however broke .dll lookup per https://github.com/zed-industries/zed/pull/35640#issuecomment-3155624377
This commit is contained in:
parent
1aff9aa541
commit
b00a812997
1 changed files with 3 additions and 1 deletions
|
|
@ -250,7 +250,9 @@ def get_python_helper_lib_filename():
|
|||
else:
|
||||
suffix = suffix_32
|
||||
|
||||
if IS_WINDOWS or IS_MAC: # just the extension changes
|
||||
if IS_WINDOWS: # just the extension changes
|
||||
prefix = "attach_"
|
||||
elif IS_MAC:
|
||||
prefix = "attach"
|
||||
suffix = ""
|
||||
elif IS_LINUX: #
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue