diff --git a/src/mod/languages/mod_perl/Makefile b/src/mod/languages/mod_perl/Makefile index 86796fd817..1c9566fc56 100644 --- a/src/mod/languages/mod_perl/Makefile +++ b/src/mod/languages/mod_perl/Makefile @@ -16,10 +16,7 @@ all: depends $(MODNAME).$(DYNAMIC_LIB_EXTEN) fs_perl.$(DYNAMIC_LIB_EXTEN) || ((echo Sorry, you need to compile perl with threads and multiplicity.&& exit 1)) @touch .perlok -perlxsi.c: .perlok - perl -MExtUtils::Embed -e xsinit - -depends: perlxsi.c +depends: %.o: %.c $(CC) $(CFLAGS) -fPIC -c $< -o $@ diff --git a/src/mod/languages/mod_perl/perlxsi.c b/src/mod/languages/mod_perl/perlxsi.c index 9ca8fc1fb1..c5978dab89 100644 --- a/src/mod/languages/mod_perl/perlxsi.c +++ b/src/mod/languages/mod_perl/perlxsi.c @@ -1,3 +1,6 @@ +#ifdef __ICC +#pragma warning (disable:1419) +#endif #include #include