* 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";
|
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 = {
|
crossAttrs = {
|
||||||
preConfigure=''
|
preConfigure=''
|
||||||
# It's configure does not like --build or --host
|
# It's configure does not like --build or --host
|
||||||
|
Loading…
x
Reference in New Issue
Block a user