Skip to content
This repository was archived by the owner on Aug 28, 2025. It is now read-only.

Commit e086861

Browse files
authored
Merge pull request ahupp#273 from valpogus/extend_dll_prefixes
Add "magic-1.dll" to the list of DLL files to search for on Windows
2 parents b443195 + f3ab085 commit e086861

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

magic/loader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def _lib_candidates():
2121

2222
elif sys.platform in ('win32', 'cygwin'):
2323

24-
prefixes = ['libmagic', 'magic1', 'cygmagic-1', 'libmagic-1', 'msys-magic-1']
24+
prefixes = ['libmagic', 'magic1', 'magic-1', 'cygmagic-1', 'libmagic-1', 'msys-magic-1']
2525

2626
for i in prefixes:
2727
# find_library searches in %PATH% but not the current directory,

0 commit comments

Comments
 (0)