[staging] openssl: fix bin installation for static builds (#119825)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
parent
e09786ff64
commit
9d8c015cb3
|
@ -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…
Reference in New Issue