This script is used for building 3rd-party dependencies when a user passes --build-3rdparty=dep1,dep2,... option to the scons utility like:
scons -Q --build-3rdparty=openfec --enable-tests test
variant argument is mandatory when running the script (see line variant = sys.argv[4] and below), but the function makeflags() has empty default empty-string value for it (which is used for example for libuv dependency):
This script is used for building 3rd-party dependencies when a user passes
--build-3rdparty=dep1,dep2,...
option to thescons
utility like:variant
argument is mandatory when running the script (see linevariant = sys.argv[4]
and below), but the functionmakeflags()
has empty default empty-string value for it (which is used for example for libuv dependency):This is a bug.
Acceptance criteria
variant
should never be assumed something different fromdebug
orrelease
in build-3rdparty.py scriptImplementation details
makeflags()
signature (remove default value forvariant
argument)variant
variable explicitly