Cross-compile for the iOS platform: 'system' is unavailable: not available on iOS
When compiling for iOS (as per #689 (closed) and #690 (closed)), the build system attempts to include shell access, something not allowed on iOS.
Error message:
/Users/salutis/tmp/ecl/src/c/unixsys.d:66:14: error: 'system' is unavailable: not available on iOS
int code = system((const char *)(cmd->base_string.self));
Attempted solution:
I tried to add -DHAVE_SYSTEM=0
to CFLAGS
but configure
still sets it to 1
.
Question:
How can I configure
ECL to build with no system
(HAVE_SYSTEM=0
)?
Edited by Rudolf Adamkovič