mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-30 00:50:17 +02:00
Merge pull request #2277 from jwiegley/flex
Fix flex for building on darwin systems
This commit is contained in:
commit
d510eea7b0
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue