serf: add change for the lack of kerberos on darwin
This commit is contained in:
parent
a8ea864ff2
commit
70befe1df1
1 changed files with 4 additions and 2 deletions
|
@ -18,9 +18,11 @@ stdenv.mkDerivation rec {
|
|||
|
||||
buildPhase = ''
|
||||
scons PREFIX="$out" OPENSSL="${openssl}" ZLIB="${zlib}" APR="$(echo "${apr}"/bin/*-config)" \
|
||||
APU="$(echo "${aprutil}"/bin/*-config)" GSSAPI="${kerberos}" CC="${
|
||||
APU="$(echo "${aprutil}"/bin/*-config)" CC="${
|
||||
if stdenv.isDarwin then "clang" else "${stdenv.cc}/bin/gcc"
|
||||
}"
|
||||
}" ${
|
||||
if stdenv.isDarwin then "" else "GSSAPI=\"${kerberos}\""
|
||||
}
|
||||
'';
|
||||
|
||||
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.isDarwin "-L/usr/lib";
|
||||
|
|
Loading…
Reference in a new issue