forked from mirrors/nixpkgs
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 = ''
|
||||
sed -i 's|lib64|lib|' config/Makefile.linux
|
||||
${optionalString (stdenv ? cross) ''
|
||||
${optionalString (hostPlatform != buildPlatform) ''
|
||||
sed -i -e 's/\(INSTALL.*\)-s/\1/' Makefile
|
||||
''}
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue