3
0
Fork 0
forked from mirrors/nixpkgs

Gdb: Add --without-python to cygwin builds.

svn path=/nixpkgs/trunk/; revision=28721
This commit is contained in:
Nicolas Pierron 2011-08-21 15:36:33 +00:00
parent 4c8bbfe81b
commit 0c3490e94a

View file

@ -39,11 +39,13 @@ stdenv.mkDerivation rec {
buildInputs = [ ncurses readline gmp mpfr expat ] buildInputs = [ ncurses readline gmp mpfr expat ]
++ stdenv.lib.optional doCheck dejagnu; ++ stdenv.lib.optional doCheck dejagnu;
configureFlags = configureFlags = with stdenv.lib;
'' --with-gmp=${gmp} --with-mpfr=${mpfr} --with-system-readline '' --with-gmp=${gmp} --with-mpfr=${mpfr} --with-system-readline
--with-expat --with-libexpat-prefix=${expat} --with-python --with-expat --with-libexpat-prefix=${expat} --with-python
'' + stdenv.lib.optionalString (target != null) ''
" --target=${target.config}"; + optionalString (target != null) " --target=${target.config}"
+ optionalString (elem stdenv.system platforms.cygwin) " --without-python"
;
crossAttrs = { crossAttrs = {
# Do not add --with-python here to avoid cross building it. # Do not add --with-python here to avoid cross building it.