mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-07-02 22:02:01 +00:00
Get slangc building with clang
This commit is contained in:
parent
b5339915e6
commit
fff087bd49
2 changed files with 2 additions and 1 deletions
|
|
@ -15,6 +15,7 @@
|
|||
#include <slang-com-ptr.h>
|
||||
#include <slang-com-helper.h>
|
||||
#endif
|
||||
#include <string>
|
||||
|
||||
using namespace slang;
|
||||
|
||||
|
|
|
|||
2
setup.py
2
setup.py
|
|
@ -642,7 +642,7 @@ def slang_env(args: Options) -> Env:
|
|||
cflags[:0] = pkg_config('slang-compiler', '--cflags-only-I')
|
||||
pylib = get_python_flags(args, cflags)
|
||||
ans.cflags = cflags
|
||||
ans.ldflags = pylib + ans.ldflags + pkg_config('slang-compiler', '--libs')
|
||||
ans.ldflags = ['-lstdc++'] + pylib + ans.ldflags + pkg_config('slang-compiler', '--libs')
|
||||
return ans
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue