mirror of
https://github.com/avrdudes/avrdude.git
synced 2026-09-29 12:28:41 +03:00
Tweak Windows DLL search paths
This commit is contained in:
@@ -21,9 +21,10 @@ if os.name == 'posix':
|
||||
builddir = f'build_{sysname}/src'
|
||||
elif os.name == 'nt':
|
||||
# Windows
|
||||
for candidate in ['build_msvc/src', 'build_msys64/src']:
|
||||
for candidate in ['build_msvc/src', 'build_mingw64/src']:
|
||||
if os.path.exists(candidate):
|
||||
builddir = candidate
|
||||
os.add_dll_directory(candidate)
|
||||
break
|
||||
|
||||
if builddir == None:
|
||||
|
||||
Reference in New Issue
Block a user