(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.