From: Anthony Minessale Date: Thu, 30 Mar 2006 23:24:26 +0000 (+0000) Subject: fix perlxsi broken by changes to allow icc X-Git-Tag: v1.0-beta1~2973 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=215a1b2a1f8a191805b98b0824b841bfaaba0470;p=thirdparty%2Ffreeswitch.git fix perlxsi broken by changes to allow icc git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@988 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- 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