Merge pull request #114707 from bobrik/ivan/cryptopp-configure
cryptopp: run configure.sh before make
This commit is contained in:
commit
a2058915fd
|
@ -21,6 +21,14 @@ stdenv.mkDerivation rec {
|
||||||
substituteInPlace GNUmakefile \
|
substituteInPlace GNUmakefile \
|
||||||
--replace "AR = libtool" "AR = ar" \
|
--replace "AR = libtool" "AR = ar" \
|
||||||
--replace "ARFLAGS = -static -o" "ARFLAGS = -cru"
|
--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"}" ];
|
makeFlags = [ "PREFIX=${placeholder "out"}" ];
|
||||||
|
|
Loading…
Reference in New Issue