Skip to content

Commit 6c9883b

Browse files
committed
build: honor the users input for libdbus option
Don't enforce hard the dependency on libdbus. Signed-off-by: Daniel Wagner <[email protected]>
1 parent 5c823c9 commit 6c9883b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ else
339339
# Check for libdbus availability. Optional, only required for MCTP dbus scan
340340
libdbus_dep = dependency(
341341
'dbus-1',
342-
required: true,
342+
required: get_option('libdbus'),
343343
fallback: ['dbus', 'libdbus_dep'],
344344
default_options: [
345345
'default_library=static',

0 commit comments

Comments
 (0)