freeimage: fix for darwin
This commit is contained in:
parent
382d4bac6b
commit
a157fc89a0
1 changed files with 4 additions and 0 deletions
|
@ -29,6 +29,10 @@ stdenv.mkDerivation {
|
|||
|
||||
preInstall = ''
|
||||
mkdir -p $INCDIR $INSTALLDIR
|
||||
''
|
||||
# Workaround for Makefiles.osx not using ?=
|
||||
+ lib.optionalString stdenv.isDarwin ''
|
||||
makeFlagsArray+=( "INCDIR=$INCDIR" "INSTALLDIR=$INSTALLDIR" )
|
||||
'';
|
||||
|
||||
postInstall = lib.optionalString (!stdenv.isDarwin) ''
|
||||
|
|
Loading…
Reference in a new issue