Merge pull request #120124 from veprbl/pr/freeimage_fix
freeimage: fix for darwin
This commit is contained in:
commit
638936f657
@ -29,6 +29,10 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
preInstall = ''
|
preInstall = ''
|
||||||
mkdir -p $INCDIR $INSTALLDIR
|
mkdir -p $INCDIR $INSTALLDIR
|
||||||
|
''
|
||||||
|
# Workaround for Makefiles.osx not using ?=
|
||||||
|
+ lib.optionalString stdenv.isDarwin ''
|
||||||
|
makeFlagsArray+=( "INCDIR=$INCDIR" "INSTALLDIR=$INSTALLDIR" )
|
||||||
'';
|
'';
|
||||||
|
|
||||||
postInstall = lib.optionalString (!stdenv.isDarwin) ''
|
postInstall = lib.optionalString (!stdenv.isDarwin) ''
|
||||||
|
Loading…
Reference in New Issue
Block a user