cryptopp: run configure.sh before make
This prevents failure on `aarch64-darwin`.
This commit is contained in:
parent
01f31b5dc5
commit
2f00f46269
@ -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…
x
Reference in New Issue
Block a user