mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
Gdb: Add --without-python to cygwin builds.
svn path=/nixpkgs/trunk/; revision=28721
This commit is contained in:
parent
4c8bbfe81b
commit
0c3490e94a
1 changed files with 5 additions and 3 deletions
|
@ -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