mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 21:50:55 +00:00
libtirpc: fix cross compilation
KRB5_CONFIG needs to be aviailable to get the right one when cross compiling. These things should just use pkgconfig, but it’s fairly easy to hack around this. krb5-config will not be on path because we don’t know ahead of time what architecture it will be for.
This commit is contained in:
parent
b13af1e87b
commit
4d8664e593
|
@ -18,6 +18,7 @@ stdenv.mkDerivation rec {
|
|||
'#if defined __APPLE_CC__ || defined __FreeBSD__ || !defined __GLIBC__'
|
||||
'';
|
||||
|
||||
KRB5_CONFIG = "${libkrb5.dev}/bin/krb5-config";
|
||||
nativeBuildInputs = [ autoreconfHook ];
|
||||
propagatedBuildInputs = [ libkrb5 ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue