Fix building on travis/macOS libunistring detection
This commit is contained in:
parent
4d1eb1f729
commit
df56080303
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…
x
Reference in New Issue
Block a user