mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-31 02:49:21 +00:00
Fix python build.
This commit is contained in:
parent
ccc6184234
commit
f2eed2610c
1 changed files with 5 additions and 1 deletions
|
|
@ -97,7 +97,11 @@ class PythonTarget(prepare.Target):
|
|||
self.config_file = 'configs/config-python.cmake'
|
||||
self.output = 'OUTPUT/' + self.name
|
||||
self.external_source_path = os.path.join(current_path, 'submodules')
|
||||
self.additional_args += ["-DLINPHONE_BUILDER_PYTHON_VERSION={}.{}".format(sys.version_info.major, sys.version_info.minor)]
|
||||
external_builders_path = os.path.join(current_path, 'cmake_builder')
|
||||
self.additional_args += [
|
||||
"-DLINPHONE_BUILDER_EXTERNAL_BUILDERS_PATH=" + external_builders_path,
|
||||
"-DLINPHONE_BUILDER_PYTHON_VERSION={}.{}".format(sys.version_info.major, sys.version_info.minor)
|
||||
]
|
||||
|
||||
|
||||
class PythonRaspberryTarget(prepare.Target):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue