cygwin: make flex building on cygwin

This commit is contained in:
Rok Garbas 2015-06-04 19:26:30 +02:00
parent 8908471ecc
commit 9e99a66c24

View file

@ -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//;'
'';