mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-10-21 04:32:05 +00:00
Fix building on travis/macOS libunistring detection
This commit is contained in:
parent
4d1eb1f729
commit
df56080303
1 changed files with 3 additions and 0 deletions
3
setup.py
3
setup.py
|
|
@ -211,6 +211,9 @@ def kitty_env():
|
|||
]
|
||||
if isosx:
|
||||
ans.ldpaths.extend('-framework Cocoa'.split())
|
||||
if is_travis and 'SW' in os.environ:
|
||||
cflags.append('-I{}/include'.format(os.environ['SW']))
|
||||
ans.ldpaths.append('-L{}/lib'.format(os.environ['SW']))
|
||||
else:
|
||||
ans.ldpaths += ['-lrt']
|
||||
if '-ldl' not in ans.ldpaths:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue