This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Fix creation of libperl519s.a on Win32 with MinGW
authorSteve Hay <steve.m.hay@googlemail.com>
Thu, 6 Jun 2013 22:28:07 +0000 (23:28 +0100)
committerSteve Hay <steve.m.hay@googlemail.com>
Thu, 6 Jun 2013 22:28:07 +0000 (23:28 +0100)
commitcc0b589ad6053fdbc488399fc8b8fe992abd9e3b
tree74083fafb6079b57e1297662e707731a6c87eebe
parent056775f5f57d30cd2510ef7aeac19a96e8126feb
Fix creation of libperl519s.a on Win32 with MinGW

The "ar rc" command created an invalid static perl library by putting the
static extension libraries themselves into the library rather than putting
the objects from each static extension library into it as intended (like
the VC++ "link -lib" command does).

We now extract each static extension library's objects into a temporary
directory and put the objects from there into the static perl library.
win32/makefile.mk