You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue description: Someone reported on IRC that non-builtin dependency checking is done even if the module that requires them is disabled. This causes a build failure if the dependency in question isn't installed on the system.
For instance, builtin_libtheora=no will always call pkg-config, even if module_theora_enabled=no is also passed to the SCons command line:
builtin_*=no should only be used if you want to link against the system provided version. If you don't want to use theora, the module_theora_enabled=no flag should be used.
This could be made more robust but would require substantial changes, and a proper dependency checking system à la configure.
@akien-mga What about replacing if not env['builtin_libtheora']: with if env['module_theora_enabled'] and not env['builtin_libtheora']: (and doing the same for other modules with non-builtin dependency options)?
Godot version: Git 72d87cf
OS/device including version: Fedora 30
Issue description: Someone reported on IRC that non-builtin dependency checking is done even if the module that requires them is disabled. This causes a build failure if the dependency in question isn't installed on the system.
For instance,
builtin_libtheora=no
will always call pkg-config, even ifmodule_theora_enabled=no
is also passed to the SCons command line:godot/platform/x11/detect.py
Lines 241 to 247 in 72d87cf
Steps to reproduce: Build Godot with
scons platform=x11 builtin_libtheora=no module_theora_enabled=no
.The text was updated successfully, but these errors were encountered: