aboutsummaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@redhat.com>2021-01-22 21:44:33 +0100
committerThomas Huth <thuth@redhat.com>2021-01-26 18:38:37 +0100
commit610e7e0e69b2d8b1d153112c35ce87a4bc5176b2 (patch)
treed859ac952e3e0392320b8b830c76617b64f78df0 /meson.build
parent90520ee4ca53e51e35df1e82c0068067f662882e (diff)
meson: Do not build optional libraries by default
The following libraries will be selected if a feature requires it: - capstone - fdt - SLiRP Suggested-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <20210122204441.2145197-5-philmd@redhat.com> Acked-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build3
1 files changed, 3 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index 35a9eddf5c..a58c6f6785 100644
--- a/meson.build
+++ b/meson.build
@@ -1460,6 +1460,7 @@ if capstone_opt == 'internal'
]
libcapstone = static_library('capstone',
+ build_by_default: false,
sources: capstone_files,
c_args: capstone_cargs,
include_directories: 'capstone/include')
@@ -1537,6 +1538,7 @@ if have_system
slirp_inc = include_directories('slirp', 'slirp/src')
libslirp = static_library('slirp',
+ build_by_default: false,
sources: slirp_files,
c_args: slirp_cargs,
include_directories: slirp_inc)
@@ -1582,6 +1584,7 @@ if have_system
fdt_inc = include_directories('dtc/libfdt')
libfdt = static_library('fdt',
+ build_by_default: false,
sources: fdt_files,
include_directories: fdt_inc)
fdt = declare_dependency(link_with: libfdt,