cyrus_sasl: prune .la files
Version 2.1.27 adds `-lkrb5` etc. to `dependency_libs` in all the .la files, which in turn breaks spice's build. Prune .la's dependency_libs with pruneLibtoolFiles.
This commit is contained in:
parent
12e8ec041a
commit
a00c862e97
@ -1,6 +1,6 @@
|
||||
{ lib, stdenv, fetchurl, openssl, openldap, kerberos, db, gettext
|
||||
, pam, fixDarwinDylibNames, autoreconfHook, fetchpatch, enableLdap ? false
|
||||
, buildPackages }:
|
||||
, buildPackages, pruneLibtoolFiles }:
|
||||
|
||||
with stdenv.lib;
|
||||
stdenv.mkDerivation rec {
|
||||
@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
|
||||
outputs = [ "bin" "dev" "out" "man" "devdoc" ];
|
||||
|
||||
depsBuildBuild = [ buildPackages.stdenv.cc ];
|
||||
nativeBuildInputs = [ autoreconfHook fixDarwinDylibNames ];
|
||||
nativeBuildInputs = [ autoreconfHook fixDarwinDylibNames pruneLibtoolFiles ];
|
||||
buildInputs =
|
||||
[ openssl db gettext kerberos ]
|
||||
++ lib.optional enableLdap openldap
|
||||
|
Loading…
Reference in New Issue
Block a user