Fix building on travis/macOS libunistring detection

This commit is contained in:
Kovid Goyal 2017-11-20 15:42:01 +05:30
parent 4d1eb1f729
commit df56080303
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -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: