We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 749caf3 commit 36df56dCopy full SHA for 36df56d
wllvm/filetype.py
@@ -44,7 +44,7 @@ def getFileType(cls, fileName):
44
retval = cls.MACH_EXECUTABLE
45
elif 'ELF' in foutput and 'shared' in foutput:
46
retval = cls.ELF_SHARED
47
- elif 'Mach-O' in foutput and 'dynamically linked shared' in output:
+ elif 'Mach-O' in foutput and 'dynamically linked shared' in foutput:
48
retval = cls.MACH_SHARED
49
elif 'current ar archive' in foutput:
50
retval = cls.ARCHIVE
0 commit comments