Merge pull request #154082 from NickCao/cryptopp
cryptopp: be graceful when removing static lib, fixing cross compilation
This commit is contained in:
@@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
|
||||
doCheck = true;
|
||||
|
||||
# always built for checks but install static lib only when necessary
|
||||
preInstall = lib.optionalString (!enableStatic) "rm libcryptopp.a";
|
||||
preInstall = lib.optionalString (!enableStatic) "rm -f libcryptopp.a";
|
||||
|
||||
installTargets = [ "install-lib" ];
|
||||
installFlags = [ "LDCONF=true" ];
|
||||
|
||||
Reference in New Issue
Block a user