samba: fix cross-compilation

This commit is contained in:
Ludovic Courtès 2012-10-11 12:02:46 +02:00
parent b8e30a8af6
commit 018068d7c5

View file

@ -38,7 +38,7 @@ stdenv.mkDerivation rec {
postPatch =
# XXX: Awful hack to allow cross-compilation.
'' sed -i source3/configure \
-e 's/^as_fn_error \("cannot run test program while cross compiling\)/$as_echo \1/g'
-e 's/^as_fn_error .. \("cannot run test program while cross compiling\)/$as_echo \1/g'
''; # "
preConfigure =