[staging] openssl: fix bin installation for static builds (#119825)

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
launchpad/nixpkgs/master
Jonathan Ringer 3 years ago committed by GitHub
parent e09786ff64
commit 9d8c015cb3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      pkgs/development/libraries/openssl/default.nix

@ -123,8 +123,6 @@ let
if [ -n "$(echo $out/lib/*.so $out/lib/*.dylib $out/lib/*.dll)" ]; then
rm "$out/lib/"*.a
fi
mkdir -p $bin
'' + lib.optionalString (!stdenv.hostPlatform.isWindows)
# Fix bin/c_rehash's perl interpreter line
#
@ -138,9 +136,9 @@ let
# "#!/usr/bin/env perl"
''
substituteInPlace $out/bin/c_rehash --replace ${buildPackages.perl}/bin/perl "/usr/bin/env perl"
'' +
''
mv $out/bin $bin/
'' + ''
mkdir -p $bin
mv $out/bin $bin/bin
mkdir $dev
mv $out/include $dev/

Loading…
Cancel
Save