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:
parent
69e5198b6f
commit
7e472d6dc2
|
@ -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
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue