glew 1.10: Don't use stdenv ? cross

This commit is contained in:
hsloan 2017-06-28 16:11:06 -04:00 committed by John Ericson
parent cebe4ee5c9
commit ade488c52a

View File

@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
patchPhase = ''
sed -i 's|lib64|lib|' config/Makefile.linux
${optionalString (stdenv ? cross) ''
${optionalString (hostPlatform != buildPlatform) ''
sed -i -e 's/\(INSTALL.*\)-s/\1/' Makefile
''}
'';