luaPackages.luasocket: fix cross

This commit is contained in:
Robin Gloster 2018-11-29 03:46:20 +01:00
parent b7893a700d
commit 9111012f7f
No known key found for this signature in database
GPG key ID: D5C458DF6DD97EDF

View file

@ -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
);
'';