mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03: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__'
|
'#if defined __APPLE_CC__ || defined __FreeBSD__ || !defined __GLIBC__'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
KRB5_CONFIG = "${libkrb5.dev}/bin/krb5-config";
|
||||||
nativeBuildInputs = [ autoreconfHook ];
|
nativeBuildInputs = [ autoreconfHook ];
|
||||||
propagatedBuildInputs = [ libkrb5 ];
|
propagatedBuildInputs = [ libkrb5 ];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user