mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-07 17:43:53 +02:00
Fix building on travis/macOS libunistring detection
This commit is contained in:
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:
|
||||
|
||||
Reference in New Issue
Block a user