diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2023-04-28 11:35:50 +0200 |
---|---|---|
committer | David Gibson <github@gibson.dropbear.id.au> | 2023-05-14 15:11:32 +1000 |
commit | 0ac8b30ba5a112a616d0e9d482546e50bf7a6fdf (patch) | |
tree | 53931bad8284922a059f3b1c2043673c41914441 /tests | |
parent | f1657b2fb5be12d85ceb6a50d2db8a006dee830c (diff) | |
download | device-tree-compiler-0ac8b30ba5a112a616d0e9d482546e50bf7a6fdf.tar.gz |
yaml: Depend on libyaml >= 0.2.3
libyaml before 0.2.3 expects non-const string parameters. Supporting
both variants would require either cpp magic or ignoring
"discarded-qualifiers" compiler warnings. For the sake of simplicity
just support libyaml 0.2.3 and newer.
Note that NO_YAML can be overwritten on the make command line.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/run_tests.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/run_tests.sh b/tests/run_tests.sh index 2af8c15..d7a6d49 100755 --- a/tests/run_tests.sh +++ b/tests/run_tests.sh @@ -32,7 +32,7 @@ if [ -n "$NO_YAML" ]; then no_yaml=false fi else - if pkg-config --exists yaml-0.1; then + if pkg-config --atleast-version 0.2.3 yaml-0.1; then no_yaml=false else no_yaml=true |