forked from mirrors/nixpkgs
Gdb: Add --without-python to cygwin builds.
svn path=/nixpkgs/trunk/; revision=28721
This commit is contained in:
parent
4c8bbfe81b
commit
0c3490e94a
|
@ -39,11 +39,13 @@ stdenv.mkDerivation rec {
|
|||
buildInputs = [ ncurses readline gmp mpfr expat ]
|
||||
++ stdenv.lib.optional doCheck dejagnu;
|
||||
|
||||
configureFlags =
|
||||
configureFlags = with stdenv.lib;
|
||||
'' --with-gmp=${gmp} --with-mpfr=${mpfr} --with-system-readline
|
||||
--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 = {
|
||||
# Do not add --with-python here to avoid cross building it.
|
||||
|
|
Loading…
Reference in a new issue