mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-27 10:41:58 +02:00
Merge branch 'add_frameworks_only_once' of https://github.com/Luflosi/kitty
This commit is contained in:
@@ -32,10 +32,6 @@ def init_env(env, pkg_config, at_least_version, test_compile, module='x11'):
|
|||||||
|
|
||||||
if is_macos:
|
if is_macos:
|
||||||
ans.cppflags.append('-DGL_SILENCE_DEPRECATION')
|
ans.cppflags.append('-DGL_SILENCE_DEPRECATION')
|
||||||
ans.ldpaths.extend(
|
|
||||||
"-framework Cocoa -framework IOKit -framework CoreFoundation -framework CoreVideo".
|
|
||||||
split()
|
|
||||||
)
|
|
||||||
else:
|
else:
|
||||||
ans.ldpaths.extend('-lrt -lm -ldl'.split())
|
ans.ldpaths.extend('-lrt -lm -ldl'.split())
|
||||||
with open(os.path.join(base, 'source-info.json')) as f:
|
with open(os.path.join(base, 'source-info.json')) as f:
|
||||||
|
|||||||
Reference in New Issue
Block a user