httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike <dykci...@gmail.com>
Subject [covener@gmail.com: Re: Broken APXS]
Date Sun, 22 Jul 2007 13:33:32 GMT
----- Forwarded message from Eric Covener <covener@gmail.com> -----

On 7/22/07, Mike <dykciarz@gmail.com> wrote:
> Greetings.
>
> apxs accepts only *.c files as its input. For other extensions it
> doesn't invoke libtool in compile mode and several different issues
> leading to empty Apache module creation. The most probably reason is
> poor regex design.

This kind of invocation: $ apxs -cia mod_cpp.cpp other.C

Seems to behave better w/ the patch below:

http://people.apache.org/~covener/apxs-cpp.diff

| libtool --silent --mode=compile -c -o mod_cpp.lo mod_cpp.cpp
| libtool --silent --mode=compile -c -o other.lo other.C
| libtool --silent --mode=link gcc -o mod_cpp.la ...  other.lo mod_cpp.lo

-- 
Eric Covener

----- End forwarded message -----

Kind regards.

Mime
View raw message