From: Nicholas Clark Date: Sat, 24 Jan 2009 17:45:57 +0000 (+0000) Subject: Add -DPERL_IS_MINIPERL when building the object files for miniperl.exe X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=8c4561fbb4b02a2171ebce641e7cb62696b86417;p=p5sagit%2Fp5-mst-13.2.git Add -DPERL_IS_MINIPERL when building the object files for miniperl.exe --- diff --git a/win32/Makefile b/win32/Makefile index 467944d..dccade2 100644 --- a/win32/Makefile +++ b/win32/Makefile @@ -929,7 +929,7 @@ $(MINIDIR) : if not exist "$(MINIDIR)" mkdir "$(MINIDIR)" $(MINICORE_OBJ) : $(CORE_NOCFG_H) - $(CC) -c $(CFLAGS) -DPERL_EXTERNAL_GLOB $(OBJOUT_FLAG)$@ ..\$(*F).c + $(CC) -c $(CFLAGS) -DPERL_EXTERNAL_GLOB -DPERL_IS_MINIPERL $(OBJOUT_FLAG)$@ ..\$(*F).c $(MINIWIN32_OBJ) : $(CORE_NOCFG_H) $(CC) -c $(CFLAGS) $(OBJOUT_FLAG)$@ $(*F).c diff --git a/win32/makefile.mk b/win32/makefile.mk index f73670e..acbb8de 100644 --- a/win32/makefile.mk +++ b/win32/makefile.mk @@ -1181,7 +1181,7 @@ $(MINIDIR) : if not exist "$(MINIDIR)" mkdir "$(MINIDIR)" $(MINICORE_OBJ) : $(CORE_NOCFG_H) - $(CC) -c $(CFLAGS) -DPERL_EXTERNAL_GLOB $(OBJOUT_FLAG)$@ ..\$(*B).c + $(CC) -c $(CFLAGS) -DPERL_EXTERNAL_GLOB -DPERL_IS_MINIPERL $(OBJOUT_FLAG)$@ ..\$(*B).c $(MINIWIN32_OBJ) : $(CORE_NOCFG_H) $(CC) -c $(CFLAGS) $(OBJOUT_FLAG)$@ $(*B).c