linuxPackages.odp-dpdk: fix build

https://hydra.nixos.org/build/109478283
This commit is contained in:
Maximilian Bosch 2020-01-05 13:44:55 +01:00
parent 5c0d3d9050
commit 640088aa89
No known key found for this signature in database
GPG Key ID: 091DBF4D1FC46B8E

View File

@ -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