Nick *** wrote:
>-------- Оригинално писмо --------
>От: Stas Bekman <[EMAIL PROTECTED]>
>Относно: Re: [PATCH] Dynamic linking on Cygwin
>До: Nick *** <[EMAIL PROTECTED]>
>Изпратено на: Сряда, 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:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to