summaryrefslogtreecommitdiff
path: root/meson_options.txt
diff options
context:
space:
mode:
authorTero Tervala <tero.tervala@unikie.com>2022-06-29 19:35:57 +0300
committerDavid Gibson <david@gibson.dropbear.id.au>2022-07-27 16:38:45 +1000
commit7ad60734b1c1ac12856674fa7913fc9492dc5d28 (patch)
tree8d4f765563e116a81d39b4d1384834f0f599cf3a /meson_options.txt
parentfd9b8c96c780c90dd0f1af46963bf2c52de1f0a6 (diff)
downloaddevice-tree-compiler-7ad60734b1c1ac12856674fa7913fc9492dc5d28.tar.gz
Allow static building with meson
Added "static-build" option in the meson_options.txt. Setting it to "true" allows static building. Signed-off-by: Tero Tervala <tero.tervala@unikie.com> Message-Id: <20220629163557.932298-1-tero.tervala@unikie.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'meson_options.txt')
-rw-r--r--meson_options.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt
index ea59c28..82621c3 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -8,3 +8,5 @@ option('valgrind', type: 'feature', value: 'auto',
description: 'Valgrind support')
option('python', type: 'feature', value: 'auto',
description: 'Build pylibfdt Python library')
+option('static-build', type: 'boolean', value: false,
+ description: 'Build static binaries')