[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 5/9] meson: Do not build optional libraries by default
From: |
Thomas Huth |
Subject: |
[PULL 5/9] meson: Do not build optional libraries by default |
Date: |
Wed, 27 Jan 2021 10:54:40 +0100 |
From: Philippe Mathieu-Daudé <philmd@redhat.com>
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>
---
meson.build | 3 +++
1 file changed, 3 insertions(+)
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,
--
2.27.0
- [PULL 0/9] Gitlab-CI and testing improvements, Thomas Huth, 2021/01/27
- [PULL 1/9] tests/docker: Install static libc package in CentOS 7, Thomas Huth, 2021/01/27
- [PULL 2/9] gitlab-ci: Test building linux-user targets on CentOS 7, Thomas Huth, 2021/01/27
- [PULL 3/9] gitlab-ci.yml: Avoid some submodules to speed up the CI a little bit, Thomas Huth, 2021/01/27
- [PULL 4/9] configure: Only check for audio drivers if system-mode is selected, Thomas Huth, 2021/01/27
- [PULL 5/9] meson: Do not build optional libraries by default,
Thomas Huth <=
- [PULL 6/9] gitlab-ci.yml: Exclude some redundant targets in build-without-default-features, Thomas Huth, 2021/01/27
- [PULL 7/9] gitlab-ci.yml: Avoid recompiling the sources in the test jobs, Thomas Huth, 2021/01/27
- [PULL 8/9] docs/devel: Explain how acceptance tests can be skipped, Thomas Huth, 2021/01/27
- [PULL 9/9] libqtest: Rework qtest_rsp(), Thomas Huth, 2021/01/27
- Re: [PULL 0/9] Gitlab-CI and testing improvements, Peter Maydell, 2021/01/28