mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-19 18:44:13 +00:00
luaPackages.luasocket: fix cross
This commit is contained in:
parent
b7893a700d
commit
9111012f7f
@ -596,7 +596,7 @@ let
|
|||||||
};
|
};
|
||||||
|
|
||||||
patchPhase = stdenv.lib.optionalString stdenv.isDarwin ''
|
patchPhase = stdenv.lib.optionalString stdenv.isDarwin ''
|
||||||
substituteInPlace src/makefile --replace gcc cc \
|
substituteInPlace src/makefile \
|
||||||
--replace 10.3 10.5
|
--replace 10.3 10.5
|
||||||
'';
|
'';
|
||||||
|
|
||||||
@ -604,6 +604,8 @@ let
|
|||||||
makeFlagsArray=(
|
makeFlagsArray=(
|
||||||
LUAV=${lua.luaversion}
|
LUAV=${lua.luaversion}
|
||||||
PLAT=${platformString}
|
PLAT=${platformString}
|
||||||
|
CC=''${CC}
|
||||||
|
LD=''${CC}
|
||||||
prefix=$out
|
prefix=$out
|
||||||
);
|
);
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user