glew 1.10: Don't use stdenv ? cross
This commit is contained in:
parent
cebe4ee5c9
commit
ade488c52a
@ -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
|
||||||
''}
|
''}
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user