Merge branch 'add_frameworks_only_once' of https://github.com/Luflosi/kitty

This commit is contained in:
Kovid Goyal 2019-08-11 07:43:36 +05:30
commit 4ef8f11f9e
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -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: