This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Simplify win32/makefile.mk for static extensions with GCC
authorSteve Hay <SteveHay@planit.com>
Thu, 16 Jun 2005 09:09:22 +0000 (09:09 +0000)
committerSteve Hay <SteveHay@planit.com>
Thu, 16 Jun 2005 09:09:22 +0000 (09:09 +0000)
p4raw-id: //depot/perl@24863

win32/makefile.mk

index 417d480..430913e 100644 (file)
@@ -1094,7 +1094,7 @@ $(PERLDLL): perldll.def $(PERLDLL_OBJ) $(PERLDLL_RES) Extensions_static
 .ELIF "$(CCTYPE)" == "GCC"
        $(LINK32) -mdll -o $@ -Wl,--base-file -Wl,perl.base $(BLINK_FLAGS) \
            $(mktmp $(LKPRE) $(PERLDLL_OBJ:s,\,$B,) \
-               $(shell $(MINIPERL) -I..\lib buildext.pl --list-static-libs) \
+               $(shell @type Extensions_static) \
                $(LIBFILES) $(LKPOST))
        dlltool --output-lib $(PERLIMPLIB) \
                --dllname $(PERLDLL:b).dll \
@@ -1103,7 +1103,7 @@ $(PERLDLL): perldll.def $(PERLDLL_OBJ) $(PERLDLL_RES) Extensions_static
                --output-exp perl.exp
        $(LINK32) -mdll -o $@ $(BLINK_FLAGS) \
            $(mktmp $(LKPRE) $(PERLDLL_OBJ:s,\,$B,) \
-               $(shell $(MINIPERL) -I..\lib buildext.pl --list-static-libs) \
+               $(shell @type Extensions_static) \
                $(LIBFILES) perl.exp $(LKPOST))
 .ELSE
        $(LINK32) -dll -def:perldll.def -out:$@ \