Re: plperl win32
От
Bruce Momjian
Тема
Re: plperl win32
Дата
Msg-id
200407161449.i6GEnvF09691@candle.pha.pa.us
Ответ на
plperl win32 (Magnus Hagander)
Список
Дерево обсуждения
Re: plperl win32 "Magnus Hagander" <mha@sollentuna.net>
Re: plperl win32 Tom Lane <tgl@sss.pgh.pa.us>
Magnus, why is this reassignment needed, basically the 'else' part: ! ifeq ($(PORTNAME), win32) ! xperl_archlibexp=$(subst \,/,$(perl_archlibexp)) ! xperl_privlibexp=$(subst \,/,$(perl_privlibexp)) ! perl_embed_ldflags=-L $(xperl_archlibexp)/CORE -lperl58 ! else ! xperl_archlibexp=$(perl_archlibxep) ! xperl_privlibexp=$(perl_privlibexp) ! endif --------------------------------------------------------------------------- Magnus Hagander wrote: > Here is a patch required to build plperl with win32. The issues were: > > * perl_useshrplib gets set to "yes" and not to "true". I assume it's set > to "true" on unix, so I left both. > * Need to translate backslashes into slashes > * The linker config coming out of perl was for MSVC and not for mingw > > > Some of this is pretty ugly stuff - the reassigning into a second > variable etc. If somebody with a little better "makefile knowledge" > would clean that up (if it can be, but it should be possible), please > do! > > > //Magnus > > <> Content-Description: plperl_win32.patch [ Attachment, skipping... ] > > ---------------------------(end of broadcast)--------------------------- > TIP 8: explain analyze is your friend -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073
В списке pgsql-patches по дате отправления