mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-03 05:03:39 +02:00
Get slangc building with clang
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user