Merge pull request #53967 from Ma27/fix-osquery

osquery: fix build
This commit is contained in:
Tor Hedin Brønner 2019-01-15 14:34:07 +01:00 committed by GitHub
commit 380bd3b280
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -39,6 +39,10 @@ stdenv.mkDerivation rec {
pkgconfig cmake pythonPackages.python pythonPackages.jinja2 doxygen fpm
];
NIX_LDFLAGS = [
"-lcrypto"
];
buildInputs = let
gflags' = google-gflags.overrideAttrs (old: {
cmakeFlags = stdenv.lib.filter (f: isNull (builtins.match ".*STATIC.*" f)) old.cmakeFlags;