perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject Re: [PATCH] Dynamic linking on Cygwin
Date Thu, 28 Apr 2005 14:06:36 GMT
Nick *** wrote:
>  >-------- Оригинално писмо --------
>  >От:  Stas Bekman <stas@stason.org>
>  >Относно: Re: [PATCH] Dynamic linking on Cygwin
>  >До: Nick *** <doink123@abv.bg>
>  >Изпратено на: Сряда, 2005, Април 27 17:43:22 EEST
>  >----------------------------------
>  >
>  >Nick *** wrote:
>  >> Note that this patch doesn't fix the dynamic linking entirely, but does 75%
of the job.
>  >> The problem with cygwin is that it behaves like windows (it's a posix layer
over windows after all). 
>  >> That's why we need to supply all symbols during linking time just like on win32,
by adding -lapr-0 -laprutil-0 and -lhttpd. On windows, Apache supplies all the three libraries
and it's easy to link, but on cygwin apache doesn't play nice and doesn't supply libhttpd.
>  >> My patch adds libapr and libaprutil. Also, I have a workaround for libhttpd,
but currently I'm thinking on how to implement it.
>  >
>  >Thanks Nick. But please test for me the patch below. I've just changed the 
>  >way you've generated the flags to make the dealing with space separators 
>  >less painful for the eyes and replaced the hardcoded -lmod_perl with
>  >"-l$self->{MP_LIBNAME}". Though I can't test it.
>  >[...]
> 
> Works great. Also I made some tweaks and improvements.

Thanks Nick. Committed with a few minor tweaks.

-- 
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Mime
View raw message