linuxPackages.odp-dpdk: fix build

https://hydra.nixos.org/build/109478283
wip/yesman
Maximilian Bosch 4 years ago
parent 5c0d3d9050
commit 640088aa89
No known key found for this signature in database
GPG Key ID: 091DBF4D1FC46B8E
  1. 2
      pkgs/os-specific/linux/odp-dpdk/default.nix

@ -34,6 +34,8 @@ in stdenv.mkDerivation rec {
jansson
];
NIX_CFLAGS_COMPILE = [ "-Wno-error=address-of-packed-member" ];
# for some reason, /build/odp-dpdk-1.22.0.0_DPDK_18.11/lib/.libs ends up in all binaries,
# while it should be $out/lib instead.
# prepend rpath with the proper location, the /build will get removed during rpath shrinking

Loading…
Cancel
Save