This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Fix static extensions when building with nmake on Win32
authorSteve Hay <SteveHay@planit.com>
Fri, 15 Jul 2005 10:35:55 +0000 (10:35 +0000)
committerSteve Hay <SteveHay@planit.com>
Fri, 15 Jul 2005 10:35:55 +0000 (10:35 +0000)
commit322fd6428c9575b8e35cb16655e86ca0378af1cf
treec2f30ec64c9f15ed0745a19ecd68659c950f20ee
parenta44e5664a991fdadec2f1aada7ad25ce3323e639
Fix static extensions when building with nmake on Win32

They were broken because change 24806 forgot to add -DWITH_STATIC
to the recipe for compiling perllib.c which meant that perllibst.h
was not included and hence although they built OK, the static
extensions could not actually be used!

In fact, since perllibst.h is always created (it is more or less
empty when static extensions are not being used), there is no need
for -DWITH_STATIC at all. So rather than adding it to Makefile,
just drop it from makefile.mk and perllib.c.

Also add the missing cleanup of perllibst.h to Makefile.

p4raw-id: //depot/perl@25150
win32/Makefile
win32/makefile.mk
win32/perllib.c