mirror of https://github.com/odrling/Aegisub
Fix perl compile test, char **env was missing from main, it doesn't fail
on gcc 4.2.1 but it does with 4.3.2 (which may or not be the issues) in any case it's correct to pass it. Originally committed to SVN as r2681.
This commit is contained in:
parent
9dff0f15d1
commit
811505ee83
|
@ -806,7 +806,7 @@ if test "$with_perl" != "no"; then
|
||||||
AC_AGI_COMPILE([Perl], [perl], [$PERL_CFLAGS], [$PERL_LDFLAGS],[
|
AC_AGI_COMPILE([Perl], [perl], [$PERL_CFLAGS], [$PERL_LDFLAGS],[
|
||||||
#include <EXTERN.h>
|
#include <EXTERN.h>
|
||||||
#include <perl.h>
|
#include <perl.h>
|
||||||
int main(int argc, char **argv) {
|
int main(int argc, char **argv, char **env) {
|
||||||
static PerlInterpreter *my_perl;
|
static PerlInterpreter *my_perl;
|
||||||
PERL_SYS_INIT3(&argc,&argv,&env);
|
PERL_SYS_INIT3(&argc,&argv,&env);
|
||||||
my_perl = perl_alloc();
|
my_perl = perl_alloc();
|
||||||
|
|
Loading…
Reference in New Issue