Use BoolVariable for module options.

This commit is contained in:
Elliott Sales de Andrade
2017-09-25 00:27:32 -04:00
parent 45a9a680a3
commit 5be675eb03
7 changed files with 9 additions and 9 deletions

View File

@ -28,7 +28,7 @@ def get_flags():
return [
('tools', False),
('module_theora_enabled', 'no'),
('module_theora_enabled', False),
]
@ -116,5 +116,5 @@ def configure(env):
env.Append(LINKFLAGS=['--memory-init-file', '1'])
# TODO: Move that to opus module's config
if("module_opus_enabled" in env and env["module_opus_enabled"] != "no"):
if 'module_opus_enabled' in env and env['module_opus_enabled']:
env.opus_fixed_point = "yes"