Unverified Commit 6bbc4782 authored by Stefan Frijters's avatar Stefan Frijters
Browse files

ecapture: move CGO_* env vars into env for structuredAttrs

parent deb00b3e
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -52,7 +52,11 @@ buildGoModule rec {
    glibc
  ];

  CGO_LDFLAGS = "-lpcap -lpthread -static";
  env.CGO_LDFLAGS = toString [
    "-lpcap"
    "-lpthread"
    "-static"
  ];

  ldflags = [
    "-extldflags '-static'"