Skip to content

Commit d6ec4e4

Browse files
authored
Merge pull request travitch#74 from lukasstadler/fix_macho_filetypes
fix typo in filetype.py
2 parents 749caf3 + 36df56d commit d6ec4e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wllvm/filetype.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def getFileType(cls, fileName):
4444
retval = cls.MACH_EXECUTABLE
4545
elif 'ELF' in foutput and 'shared' in foutput:
4646
retval = cls.ELF_SHARED
47-
elif 'Mach-O' in foutput and 'dynamically linked shared' in output:
47+
elif 'Mach-O' in foutput and 'dynamically linked shared' in foutput:
4848
retval = cls.MACH_SHARED
4949
elif 'current ar archive' in foutput:
5050
retval = cls.ARCHIVE

0 commit comments

Comments
 (0)