Get it building on macOS

This commit is contained in:
Kovid Goyal
2017-11-20 14:09:13 +05:30
parent cfc99baac4
commit 3773aaa8a1
6 changed files with 23 additions and 31 deletions

View File

@@ -208,7 +208,9 @@ def kitty_env():
ans.ldpaths += pylib + font_libs + gl_libs + libpng + [
'-lunistring'
]
if not isosx:
if isosx:
ans.ldpaths.extend('-framework Cocoa'.split())
else:
ans.ldpaths += ['-lrt']
if '-ldl' not in ans.ldpaths:
ans.ldpaths.append('-ldl')