mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 13:10:33 +00: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 a new issue