From bb71bb568b9e7ff962078a2c4a77016d978a626a Mon Sep 17 00:00:00 2001 From: Valerio Setti Date: Thu, 9 Jan 2025 14:40:53 +0100 Subject: [PATCH] components-build-system.sh: align component_test_cmake_as_package Align component_test_cmake_as_package to the "development" branch version. Signed-off-by: Valerio Setti --- tests/scripts/components-build-system.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tests/scripts/components-build-system.sh b/tests/scripts/components-build-system.sh index 0db7885e0d..a6da8e66a3 100644 --- a/tests/scripts/components-build-system.sh +++ b/tests/scripts/components-build-system.sh @@ -115,7 +115,11 @@ component_test_cmake_as_package () { make ./cmake_package if [[ "$OSTYPE" == linux* ]]; then - PKG_CONFIG_PATH="${build_variant_dir}/mbedtls/pkgconfig" ${root_dir}/tests/scripts/pkgconfig.sh + PKG_CONFIG_PATH="${build_variant_dir}/mbedtls/pkgconfig" \ + ${root_dir}/framework/scripts/pkgconfig.sh \ + mbedtls mbedx509 mbedcrypto + # These are the EXPECTED package names. Renaming these could break + # consumers of pkg-config, consider carefully. fi } @@ -212,4 +216,3 @@ component_build_cmake_programs_no_testing () { support_build_cmake_programs_no_testing () { support_test_cmake_out_of_source } -