mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
* openssl: per Nixpkgs convention, don't install static libraries when
building dynamic libraries. svn path=/nixpkgs/branches/x-updates/; revision=25856
This commit is contained in:
parent
8ca86a8114
commit
d924bbb775
@ -25,6 +25,15 @@ stdenv.mkDerivation rec {
|
||||
|
||||
configureFlags = "shared --libdir=lib";
|
||||
|
||||
postInstall =
|
||||
''
|
||||
# If we're building dynamic libraries, then don't install static
|
||||
# libraries.
|
||||
if [ -n "$(echo $out/lib/*.so)" ]; then
|
||||
rm $out/lib/*.a
|
||||
fi
|
||||
''; # */
|
||||
|
||||
crossAttrs = {
|
||||
preConfigure=''
|
||||
# It's configure does not like --build or --host
|
||||
|
Loading…
Reference in New Issue
Block a user