Subject: | Avoiding: dmake.exe: ... Warning: -- Macro `BOOTSTRAP' redefined after use |
The trouble occurs om MSWin32 + dmake.exe
Here is the relevant part of generated makefile:
Show quoted text
dynamic :: $(FIRST_MAKEFILE) $(BOOTSTRAP) $(INST_DYNAMIC)
$(NOECHO) $(NOOP)
Show quoted text
BOOTSTRAP =
To fix this you need to swap generated blocks "dynamic" - "dynamic_bs"
--- ExtUtils-MakeMaker-6.82.orig\lib\ExtUtils\MakeMaker.pm Mon Nov 04 20:21:05 2013
+++ ExtUtils-MakeMaker-6.82\lib\ExtUtils\MakeMaker.pm Sun Nov 24 23:43:34 2013
@@ -315,7 +315,7 @@
special_targets
c_o xs_c xs_o
- top_targets blibdirs linkext dlsyms dynamic dynamic_bs
+ top_targets blibdirs linkext dlsyms dynamic_bs dynamic
dynamic_lib static static_lib manifypods processPL
installbin subdirs
clean_subdirs clean realclean_subdirs realclean
--
kmx
Here is the relevant part of generated makefile:
Show quoted text
# --- MakeMaker dynamic section:
dynamic :: $(FIRST_MAKEFILE) $(BOOTSTRAP) $(INST_DYNAMIC)
$(NOECHO) $(NOOP)
Show quoted text
# --- MakeMaker dynamic_bs section:
BOOTSTRAP =
To fix this you need to swap generated blocks "dynamic" - "dynamic_bs"
--- ExtUtils-MakeMaker-6.82.orig\lib\ExtUtils\MakeMaker.pm Mon Nov 04 20:21:05 2013
+++ ExtUtils-MakeMaker-6.82\lib\ExtUtils\MakeMaker.pm Sun Nov 24 23:43:34 2013
@@ -315,7 +315,7 @@
special_targets
c_o xs_c xs_o
- top_targets blibdirs linkext dlsyms dynamic dynamic_bs
+ top_targets blibdirs linkext dlsyms dynamic_bs dynamic
dynamic_lib static static_lib manifypods processPL
installbin subdirs
clean_subdirs clean realclean_subdirs realclean
--
kmx