1
0
mirror of https://github.com/irssi/irssi.git synced 2024-07-21 03:14:16 -04:00

ensure staticlib perl works on 5.22 (for now)

This commit is contained in:
ailin-nemui 2015-12-13 01:08:53 +01:00
parent 4dd7f2b18f
commit 6e01a23134
2 changed files with 1 additions and 4 deletions

View File

@ -246,10 +246,7 @@ char *perl_get_use_list(void)
void irssi_callXS(void (*subaddr)(pTHX_ CV* cv), CV *cv, SV **mark)
{
dSP;
PUSHMARK(mark);
PUTBACK;
(*subaddr)(aTHX_ cv);
}

View File

@ -125,7 +125,7 @@ void perl_scripts_init(void)
perl_parse(my_perl, xs_init, G_N_ELEMENTS(perl_args), perl_args, NULL);
#if PERL_STATIC_LIBS == 1
perl_eval_pv("Irssi::Core::boot_Irssi_Core();", TRUE);
perl_eval_pv("Irssi::Core::->boot_Irssi_Core(0.9);", TRUE);
#endif
perl_common_start();