mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
glew default: Don't use stdenv ? cross
This commit is contained in:
parent
ade488c52a
commit
de1125ea2c
1 changed files with 1 additions and 1 deletions
|
@ -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