MakeMaker + static misbehaviour

[email protected] ("Konovalov, Vadim Vladimirovich \(Vadim\)** CTR **")
Newsgroups perl.perl5.porters,perl.makemaker
Message-ID <[email protected]>
(I dare to post to 2 MLs, I hope I'm not doing wrong...)

I'm playing with static build of extensions on Win32, and some strangeness comes when extension has some sub-extensions with their own Makefile.PL is subdirectory.

Say, an extension in './ext' subdir contains subdirs, and 
.....miniperl -I...... Makefile.PL LINKTYPE=static
is called.

In this case a subroutine "eval_in_subdirs" is called, which results in ...

        do './Makefile.PL';

... in each of subdirectory.

All is fine to the moment, and even @ARGV is seen by the called Makefile.PL, because generated Makefile in subdirectory contains lines:

....
#   MakeMaker ARGV: (q[INSTALLDIRS=perl], q[PERL_CORE=1], q[LINKTYPE=static])
#

....

Argument LINKTYPE=static is what I am trying to achieve.

I am not successful, however, because some lines below in the same Makefile I see:

LINKTYPE = dynamic

Is this a bug?

Thanks in advance for any clarification.
Vadim.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.