Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tvorogme committed Oct 1, 2024
1 parent e7fcf1a commit 5271944
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions assembly/nix/static-libs.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,7 @@ let
configureFlags = (oldAttrs.configureFlags or []) ++ ["--enable-static" "--disable-shared"];
});

staticLZ4 = pkgs.lz4.overrideAttrs (oldAttrs: rec {
# Disable shared library building and ensure a static build
buildInputs = oldAttrs.buildInputs or [];

# Override the configure flags
configureFlags = [ "-DBUILD_SHARED_LIBS=OFF" "-DBUILD_STATIC_LIBS=ON" ];
});
staticLZ4 = (pkgs.lz4.override { enableStatic = true; enableShared = false; }).dev;
in
{
inherit staticBoost staticLibrdkafka staticLZ4;
Expand Down

0 comments on commit 5271944

Please sign in to comment.