libpcap: allow building with RDMA protocol support (#498298)

This commit is contained in:
Franz Pletz
2026-04-04 18:28:31 +00:00
committed by GitHub
+6
View File
@@ -10,7 +10,9 @@
libnl,
libxcrypt,
pkg-config,
rdma-core,
withBluez ? false,
withRdma ? false,
withRemote ? false,
# for passthru.tests
@@ -46,6 +48,7 @@ stdenv.mkDerivation (finalAttrs: {
bash
]
++ lib.optionals stdenv.hostPlatform.isLinux [ libnl ]
++ lib.optionals withRdma [ rdma-core ]
++ lib.optionals withRemote [ libxcrypt ]
++ lib.optionals withBluez [ bluez ];
@@ -63,6 +66,9 @@ stdenv.mkDerivation (finalAttrs: {
++ lib.optionals stdenv.hostPlatform.isDarwin [
"--disable-universal"
]
++ lib.optionals withRdma [
"--enable-rdma"
]
++ lib.optionals withRemote [
"--enable-remote"
]