mirror of
https://github.com/kovidgoyal/kitty.git
synced 2024-09-19 02:27:10 +03:00
...
This commit is contained in:
parent
03391b4f7a
commit
2fcfa8d3eb
2
setup.py
2
setup.py
@ -239,7 +239,7 @@ def test_compile(
|
||||
ldflags: Iterable[str] = (),
|
||||
) -> bool:
|
||||
src = src or 'int main(void) { return 0; }'
|
||||
with tempfile.NamedTemporaryFile() as f:
|
||||
with tempfile.NamedTemporaryFile(prefix='kitty-test-compile-') as f:
|
||||
p = subprocess.Popen(
|
||||
[cc] + list(cflags) + ([] if link_also else ['-c']) + ['-x', lang, '-o', f.name, '-'] +
|
||||
[f'-l{x}' for x in libraries] + list(ldflags),
|
||||
|
Loading…
Reference in New Issue
Block a user