oops
This commit is contained in:
4
setup.py
4
setup.py
@@ -563,7 +563,7 @@ def compile_glfw(compilation_database):
|
|||||||
modules = 'cocoa' if is_macos else 'x11 wayland'
|
modules = 'cocoa' if is_macos else 'x11 wayland'
|
||||||
for module in modules.split():
|
for module in modules.split():
|
||||||
try:
|
try:
|
||||||
genv = glfw.init_env(env, pkg_config, at_least_version, test_compile, module)
|
genv = glfw['init_env'](env, pkg_config, at_least_version, test_compile, module)
|
||||||
except SystemExit as err:
|
except SystemExit as err:
|
||||||
if module != 'wayland':
|
if module != 'wayland':
|
||||||
raise
|
raise
|
||||||
@@ -574,7 +574,7 @@ def compile_glfw(compilation_database):
|
|||||||
all_headers = [os.path.join('glfw', x) for x in genv.all_headers]
|
all_headers = [os.path.join('glfw', x) for x in genv.all_headers]
|
||||||
if module == 'wayland':
|
if module == 'wayland':
|
||||||
try:
|
try:
|
||||||
glfw.build_wayland_protocols(genv, Command, parallel_run, emphasis, newer, 'glfw')
|
glfw['build_wayland_protocols'](genv, Command, parallel_run, emphasis, newer, 'glfw')
|
||||||
except SystemExit as err:
|
except SystemExit as err:
|
||||||
print(err, file=sys.stderr)
|
print(err, file=sys.stderr)
|
||||||
print(error('Disabling building of wayland backend'), file=sys.stderr)
|
print(error('Disabling building of wayland backend'), file=sys.stderr)
|
||||||
|
|||||||
Reference in New Issue
Block a user