Skip to content

Commit

Permalink
Merge pull request #114707 from bobrik/ivan/cryptopp-configure
Browse files Browse the repository at this point in the history
cryptopp: run configure.sh before make
  • Loading branch information
SuperSandro2000 committed Mar 1, 2021
2 parents 3b23771 + 2f00f46 commit a205891
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pkgs/development/libraries/crypto++/default.nix
Expand Up @@ -21,6 +21,14 @@ stdenv.mkDerivation rec {
substituteInPlace GNUmakefile \
--replace "AR = libtool" "AR = ar" \
--replace "ARFLAGS = -static -o" "ARFLAGS = -cru"
# See https://github.com/weidai11/cryptopp/issues/1011
substituteInPlace GNUmakefile \
--replace "ZOPT = -O0" "ZOPT ="
'';

preConfigure = ''
sh TestScripts/configure.sh
'';

makeFlags = [ "PREFIX=${placeholder "out"}" ];
Expand Down

0 comments on commit a205891

Please sign in to comment.