From 96617a7454bb87931214dc09fa74fb36d0ec247f Mon Sep 17 00:00:00 2001 From: Stéphane Cerveau Date: Mon, 18 May 2020 18:17:02 +0200 Subject: recipe: install licensing with config_src_dir as a base folder In order to separate build folder from src folder, the license will be taken from config_src_dir. In the case of librtmp, the license is not in the config_src_dir where the CMakeLists.txt is located but one level up. Part-of: --- cerbero/build/recipe.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cerbero/build/recipe.py b/cerbero/build/recipe.py index 3dfa8d76..a0020607 100644 --- a/cerbero/build/recipe.py +++ b/cerbero/build/recipe.py @@ -522,7 +522,8 @@ SOFTWARE LICENSE COMPLIANCE.\n\n''' raise RuntimeError('{}.recipe: license file collision: {!r}' .format(self.name, LICENSE_INFO_FILENAME)) dest = str(install_dir / fname) - src = os.path.join(self.build_dir, f) + + src = os.path.join(self.config_src_dir, f) if shell.DRY_RUN: print('Copying {!r} to {!r}'.format(src, dest)) else: -- cgit v1.2.3