glew default: Don't use stdenv ? cross

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

View file

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