mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-19 15:04:50 +02:00
Fix incorrect response to request for device attributes
This commit is contained in:
2
setup.py
2
setup.py
@@ -131,6 +131,8 @@ def init_env(debug=False, sanitize=False, native_optimizations=True):
|
||||
ldflags += shlex.split(os.environ.get('LDFLAGS', ''))
|
||||
|
||||
cflags.append('-pthread')
|
||||
cflags.append('-DPRIMARY_VERSION={}'.format(version[0]))
|
||||
cflags.append('-DSECONDARY_VERSION={}'.format(version[1]))
|
||||
if not is_travis and not isosx and subprocess.Popen(
|
||||
[PKGCONFIG, 'glew', '--atleast-version=2']
|
||||
).wait() != 0:
|
||||
|
||||
Reference in New Issue
Block a user