Skip to content
Snippets Groups Projects
Commit 5d99d4bf authored by Patrick Gartung's avatar Patrick Gartung
Browse files

Darwin -> darwin for sys.platform

parent cd7dde91
No related tags found
No related merge requests found
......@@ -182,9 +182,9 @@ def write_buildinfo_file(spec, workdir, rel=False):
if relocate.needs_binary_relocation(m_type, m_subtype):
if ((m_subtype in ('x-executable', 'x-sharedlib')
and sys.platform != 'Darwin') or
and sys.platform != 'darwin') or
(m_subtype in ('x-mach-binary')
and sys.platform == 'Darwin') or
and sys.platform == 'darwin') or
(not filename.endswith('.o'))):
rel_path_name = os.path.relpath(path_name, prefix)
binary_to_relocate.append(rel_path_name)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment