luaPackages.luasocket: fix cross
This commit is contained in:
parent
b7893a700d
commit
9111012f7f
1 changed files with 3 additions and 1 deletions
|
@ -596,7 +596,7 @@ let
|
|||
};
|
||||
|
||||
patchPhase = stdenv.lib.optionalString stdenv.isDarwin ''
|
||||
substituteInPlace src/makefile --replace gcc cc \
|
||||
substituteInPlace src/makefile \
|
||||
--replace 10.3 10.5
|
||||
'';
|
||||
|
||||
|
@ -604,6 +604,8 @@ let
|
|||
makeFlagsArray=(
|
||||
LUAV=${lua.luaversion}
|
||||
PLAT=${platformString}
|
||||
CC=''${CC}
|
||||
LD=''${CC}
|
||||
prefix=$out
|
||||
);
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue