3
0
Fork 0
forked from mirrors/nixpkgs

dpdk: move rdma-core dependency to propagated

This allows for static building against DPDK. I would rather have all
nixpkgs users link properly against the shared libraries, but fixing
odp-dpdk looks like it will require patching their autoconf scripts.
This commit is contained in:
Pierre Bourdon 2021-12-09 09:28:18 +01:00
parent 69e5198b6f
commit 7e472d6dc2
No known key found for this signature in database
GPG key ID: 6FB80DCD84DA0F1C

View file

@ -36,10 +36,15 @@ in stdenv.mkDerivation rec {
libpcap
numactl
openssl.dev
rdma-core
zlib
] ++ lib.optionals mod kernel.moduleBuildDependencies;
# Propagated to support current DPDK users in nixpkgs which statically link
# with the framework (e.g. odp-dpdk).
propagatedBuildInputs = [
rdma-core
];
postPatch = ''
patchShebangs config/arm buildtools
'';