lua-sockets: fix on darwin
This commit is contained in:
parent
44dc13aad6
commit
b8ed622bbb
@ -192,6 +192,11 @@ let
|
|||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
sed -e "s,^LUAPREFIX_linux.*,LUAPREFIX_linux=$out," \
|
sed -e "s,^LUAPREFIX_linux.*,LUAPREFIX_linux=$out," \
|
||||||
-i src/makefile
|
-i src/makefile
|
||||||
|
'' + stdenv.lib.optionalString stdenv.isDarwin ''
|
||||||
|
export PLAT=macosx
|
||||||
|
export LUAPREFIX_macosx=$out
|
||||||
|
substituteInPlace src/Makefile --replace gcc cc \
|
||||||
|
--replace 10.3 10.5
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user