Merge pull request #120124 from veprbl/pr/freeimage_fix

freeimage: fix for darwin
This commit is contained in:
Dmitry Kalinkin
2021-04-23 09:27:55 -04:00
committed by GitHub

View File

@@ -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) ''