mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-04 05:32:40 +02:00
Work on slang module compilation
This commit is contained in:
3
setup.py
3
setup.py
@@ -639,9 +639,10 @@ def slang_env(args: Options) -> Env:
|
||||
if x.startswith('-std='):
|
||||
x = '-std=c++20'
|
||||
cflags.append(x)
|
||||
cflags[:0] = pkg_config('slang-compiler', '--cflags-only-I')
|
||||
pylib = get_python_flags(args, cflags)
|
||||
ans.cflags = cflags
|
||||
ans.ldflags = pylib + ans.ldflags
|
||||
ans.ldflags = pylib + ans.ldflags + pkg_config('slang-compiler', '--libs')
|
||||
return ans
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user