libcap: fix cross-compilation support
Between libcap 2.51 and 2.52, the CROSS_COMPILE flag appears in more places. Maybe it was already required before, but now the build fails due to it not being set. Set it unconditionally.
This commit is contained in:
parent
52843aefea
commit
4b80acb94c
|
@ -28,6 +28,7 @@ stdenv.mkDerivation rec {
|
|||
"PAM_CAP=${if usePam then "yes" else "no"}"
|
||||
"BUILD_CC=$(CC_FOR_BUILD)"
|
||||
"CC:=$(CC)"
|
||||
"CROSS_COMPILE=${stdenv.cc.targetPrefix}"
|
||||
] ++ lib.optional isStatic "SHARED=no";
|
||||
|
||||
postPatch = ''
|
||||
|
|
Loading…
Reference in a new issue