forked from mirrors/nixpkgs
cygwin: make flex building on cygwin
This commit is contained in:
parent
8908471ecc
commit
9e99a66c24
|
@ -12,7 +12,7 @@ stdenv.mkDerivation {
|
|||
|
||||
propagatedNativeBuildInputs = [ m4 ];
|
||||
|
||||
postConfigure = stdenv.lib.optionalString stdenv.isDarwin ''
|
||||
postConfigure = stdenv.lib.optionalString (stdenv.isDarwin || stdenv.isCygwin) ''
|
||||
sed -i Makefile -e 's/-no-undefined//;'
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue