mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-22 03:53:47 +00:00
cygwin: make flex building on cygwin
This commit is contained in:
parent
8908471ecc
commit
9e99a66c24
@ -12,7 +12,7 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
propagatedNativeBuildInputs = [ m4 ];
|
propagatedNativeBuildInputs = [ m4 ];
|
||||||
|
|
||||||
postConfigure = stdenv.lib.optionalString stdenv.isDarwin ''
|
postConfigure = stdenv.lib.optionalString (stdenv.isDarwin || stdenv.isCygwin) ''
|
||||||
sed -i Makefile -e 's/-no-undefined//;'
|
sed -i Makefile -e 's/-no-undefined//;'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user