aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrandon Maier <brandon.maier@collins.com>2023-07-29 19:53:26 +0000
committerDavid Gibson <david@gibson.dropbear.id.au>2023-08-01 13:09:19 +1000
commit4c68e4b16b22a8eb9c2dc39086f25c2d1375d049 (patch)
tree8e1eb17ac78d0d1db7ccf048ba9ae1c37b94d17f
parentbdc5c8793a13abb8846d115b7923df87605d05bd (diff)
downloaddtc-4c68e4b16b22a8eb9c2dc39086f25c2d1375d049.zip
dtc-4c68e4b16b22a8eb9c2dc39086f25c2d1375d049.tar.gz
dtc-4c68e4b16b22a8eb9c2dc39086f25c2d1375d049.tar.bz2
libfdt: fix library version to match project version
Build the libfdt with the correct version number by pulling the version from the top-level project. Change as suggested from https://github.com/dgibson/dtc/pull/95#issuecomment-1546933095 Signed-off-by: Brandon Maier <brandon.maier@collins.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
-rw-r--r--libfdt/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/libfdt/meson.build b/libfdt/meson.build
index e1bf083..2ea1448 100644
--- a/libfdt/meson.build
+++ b/libfdt/meson.build
@@ -28,7 +28,7 @@ endif
link_args += version_script
libfdt = library(
'fdt', sources,
- version: '1.6.0',
+ version: meson.project_version(),
link_args: link_args,
link_depends: 'version.lds',
install: true,