[PATCH BlueZ v9 10/15] build: Only build profiles if the daemon is built

Bastien Nocera
2026-04-24T09:13:44Z

---
meson.build | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meson.build b/meson.build
index 586b69459d8a..b00e378d04ca 100644
--- a/meson.build
+++ b/meson.build
@@ -263,7 +263,9 @@ subdir('gdbus')
subdir('attrib')
subdir('btio')
subdir('plugins')
-subdir('profiles')
+if get_option('daemon').enabled()
+ subdir('profiles')
+endif
subdir('src')
subdir('client')
if get_option('monitor').allowed()
--
2.53.0