| From 20894f04d5d24bbc5dcbb288d850e1fdd9159a79 Mon Sep 17 00:00:00 2001 |
| From: guangzong <guangzong@google.com> |
| Date: Wed, 3 Jun 2026 17:50:22 +0000 |
| Subject: [PATCH] Update minimum meson version to build with gBMC |
| |
| Downgrade meson version requirement to >=1.3.1 and avoid using |
| config.full_path() which is not supported in 1.3.1. |
| |
| Google-Bug-Id: 518906059 |
| Signed-off-by: Guangzong Chen <guangzong@google.com> |
| --- |
| meson.build | 4 ++-- |
| 1 file changed, 2 insertions(+), 2 deletions(-) |
| |
| diff --git a/meson.build b/meson.build |
| index 198b7ed..4bebac2 100644 |
| --- a/meson.build |
| +++ b/meson.build |
| @@ -12,7 +12,7 @@ project( |
| 'tests': not meson.is_subproject(), |
| }, |
| version: '0.15.0', |
| - meson_version: '>=1.4.0', |
| + meson_version: '>=1.3.1', |
| ) |
| |
| if get_option('bindings').contains('cpp') or get_option('tests') |
| @@ -103,7 +103,7 @@ config = configure_file( |
| output: 'config.h', |
| configuration: conf, |
| ) |
| -add_project_arguments('-include', config.full_path(), language: ['c', 'cpp']) |
| +add_project_arguments('-include', meson.current_build_dir() + '/config.h', language: ['c', 'cpp']) |
| |
| libpldm_deprecated_aliases = [] |
| |