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
!
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
!
Magnus Hagander [EMAIL PROTECTED] writes:
I originally tried the approach with
ifeq ($(PORTNAME),win32)
perl_archlibexp=$(subst, \,/,$(perl_archlibexp))
...
but then make complained about recursive assignment of the variable. If
there is a simple way to get around that, it wouldn't be
Attached is the modified patch I applied. Thanks.
---
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
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