From f43fcdf62c316b6231be8780e8293966601df884 Mon Sep 17 00:00:00 2001 From: Ghislain MARY Date: Fri, 22 Apr 2016 15:59:46 +0200 Subject: [PATCH] Replace -os option of prepare.py by -sys option to build using the dependencies from the system. --- prepare.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/prepare.py b/prepare.py index e7d987c99..414ed6536 100755 --- a/prepare.py +++ b/prepare.py @@ -169,7 +169,7 @@ def main(argv=None): argparser.add_argument( '-L', '--list-cmake-variables', help="List non-advanced CMake cache variables.", action='store_true', dest='list_cmake_variables') argparser.add_argument( - '-os', '--only-submodules', help="Build only submodules (finding all dependencies on the system.", action='store_true') + '-sys', '--use-system-dependencies', help="Find dependencies on the system.", action='store_true') argparser.add_argument( '-p', '--package', help="Build an installation package (only on Mac OSX and Windows).", action='store_true') argparser.add_argument( @@ -181,8 +181,8 @@ def main(argv=None): args, additional_args = argparser.parse_known_args() - if args.only_submodules: - additional_args += ["-DLINPHONE_BUILDER_BUILD_ONLY_EXTERNAL_SOURCE_PATH=YES"] + if args.use_system_dependencies: + additional_args += ["-DLINPHONE_BUILDER_USE_SYSTEM_DEPENDENCIES=YES"] if args.all_codecs: additional_args += ["-DENABLE_GPL_THIRD_PARTIES=YES"]