diff --git a/pkgs/development/libraries/openssl/default.nix b/pkgs/development/libraries/openssl/default.nix index a3448e2641d..5c7fd37eb8e 100644 --- a/pkgs/development/libraries/openssl/default.nix +++ b/pkgs/development/libraries/openssl/default.nix @@ -18,13 +18,13 @@ stdenv.mkDerivation (rec { configureScript = "./config"; - configureFlags="--libdir=lib shared"; + configureFlags = "shared"; crossAttrs = { - preConfigure='' + configurePhase = '' export cross=$crossSystem- + ./Configure --prefix=$out ${opensslCrossSystem} shared ''; - configureFlags="--libdir=lib ${opensslCrossSystem} shared"; buildPhase = '' make CC=$crossConfig-gcc \ AR="$crossConfig-ar r" \