Fix flex for building on darwin systems
This commit is contained in:
@@ -12,6 +12,10 @@ stdenv.mkDerivation {
|
||||
|
||||
propagatedNativeBuildInputs = [ m4 ];
|
||||
|
||||
postConfigure = stdenv.lib.optionalString stdenv.isDarwin ''
|
||||
sed -i Makefile -e 's/-no-undefined//;'
|
||||
'';
|
||||
|
||||
crossAttrs = {
|
||||
preConfigure = ''
|
||||
export ac_cv_func_malloc_0_nonnull=yes
|
||||
|
||||
Reference in New Issue
Block a user