[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua forks on iOS due to system(...) removal
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Mon, 9 Jan 2023 06:23:39 -0300
> When compiling for iOS, Apple decided to make the `system(…)` function unavailable. The only way to compile Lua for this platform at the moment is by removing this call for the iOS build, e.g. maintaining a fork of Lua.
We could add the appropriate conditionals to avoid calling system in
iOS but we don't have access to iOS development platforms.
We need an incantation that works in current systems but we cannot
test it. We could not find official documentation on this issue.
Here are some candidate incantations:
http://lua-users.org/lists/lua-l/2019-11/msg00095.html
http://lua-users.org/lists/lua-l/2018-07/msg00243.html
https://stackoverflow.com/a/5920028/107090
If someone can provide trusted and tested code for this that is
current, please post here. Thanks.
--lhf