mirror of
https://github.com/irssi/irssi.git
synced 2026-08-09 20:00:23 +02:00
Add support for building in Termux-Android in meson
- introduce cross perl - workaround for the android linker
This commit is contained in:
parent
4b2c710ebe
commit
01ecb879a6
12 changed files with 167 additions and 46 deletions
|
|
@ -281,8 +281,8 @@ static void exec_show_list(void)
|
|||
|
||||
static void process_exec(PROCESS_REC *rec, const char *cmd)
|
||||
{
|
||||
const char *shell_args[4] = { "/bin/sh", "-c", NULL, NULL };
|
||||
char **args;
|
||||
const char *shell_args[4] = { FHS_PREFIX "/bin/sh", "-c", NULL, NULL };
|
||||
char **args;
|
||||
int in[2], out[2];
|
||||
int n;
|
||||
|
||||
|
|
@ -341,7 +341,7 @@ static void process_exec(PROCESS_REC *rec, const char *cmd)
|
|||
if (rec->shell) {
|
||||
execvp(shell_args[0], (char **) shell_args);
|
||||
|
||||
fprintf(stderr, "Exec: /bin/sh: %s\n", g_strerror(errno));
|
||||
fprintf(stderr, "Exec: " FHS_PREFIX "/bin/sh: %s\n", g_strerror(errno));
|
||||
} else {
|
||||
args = g_strsplit(cmd, " ", -1);
|
||||
execvp(args[0], args);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue