Skip to content

Commit f73aeb3

Browse files
committed
build: handle libdbus and liburing dependencies generically
The libdbus and liburing dependencies are handled in the top-level meson.build file, where they are excluded from the Windows build. Thus, there is no need to special-case them. Signed-off-by: Daniel Wagner <[email protected]>
1 parent ffd7e59 commit f73aeb3

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

libnvme/src/meson.build

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -84,21 +84,18 @@ else
8484
endif
8585

8686
deps = [
87-
config_dep,
8887
ccan_dep,
88+
config_dep,
8989
json_c_dep,
9090
keyutils_dep,
91+
libdbus_dep,
92+
liburing_dep,
9193
openssl_dep,
9294
]
9395
if host_system == 'windows'
9496
deps += [
9597
kernel32_dep
9698
]
97-
else
98-
deps += [
99-
libdbus_dep,
100-
liburing_dep,
101-
]
10299
endif
103100

104101
nvme_ld = meson.current_source_dir() / 'libnvme.ld'

0 commit comments

Comments
 (0)