mirror of
https://github.com/boostorg/build.git
synced 2026-02-15 00:52:16 +00:00
Fixed the link setup so it actually works.
[SVN r11239]
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
|
||||
# if METROWERKS_ROOT is unset, this will "multiply away" to nothing.
|
||||
METROWERKS_SETUP = "call "\"$(METROWERKS_ROOT)$(SLASH)"Other Metrowerks Tools"$(SLASH)"Command Line Tools"$(SLASH)cwenv.bat\"" -quiet" ;
|
||||
METROWERKS_LINK_SETUP = "set MWWinx86LibraryFiles=" ;
|
||||
|
||||
flags metrowerks DEFINES <define> ;
|
||||
flags metrowerks UNDEFS <undef> ;
|
||||
@@ -78,7 +79,7 @@ rule Link-action
|
||||
actions metrowerks-Link-action bind NEEDLIBS
|
||||
{
|
||||
$(METROWERKS_SETUP)
|
||||
set MWWinx86LibraryFiles=$(STDLIBS)
|
||||
$(METROWERKS_LINK_SETUP)$(STDLIBS)
|
||||
mwld -export dllexport -nowraplines $(LINKFLAGS) -L$(LIBPATH) -L$(STDLIBPATH) $(IMPLIB_COMMAND)"$(<[2])" -o "$(<[1])" $(UNDEFS) $(NEEDLIBS) "$(>)" -l$(FINDLIBS)
|
||||
}
|
||||
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
|
||||
# if METROWERKS_ROOT is unset, this will "multiply away" to nothing.
|
||||
METROWERKS_SETUP = "call "\"$(METROWERKS_ROOT)$(SLASH)"Other Metrowerks Tools"$(SLASH)"Command Line Tools"$(SLASH)cwenv.bat\"" -quiet" ;
|
||||
METROWERKS_LINK_SETUP = "set MWWinx86LibraryFiles=" ;
|
||||
|
||||
flags metrowerks DEFINES <define> ;
|
||||
flags metrowerks UNDEFS <undef> ;
|
||||
@@ -78,7 +79,7 @@ rule Link-action
|
||||
actions metrowerks-Link-action bind NEEDLIBS
|
||||
{
|
||||
$(METROWERKS_SETUP)
|
||||
set MWWinx86LibraryFiles=$(STDLIBS)
|
||||
$(METROWERKS_LINK_SETUP)$(STDLIBS)
|
||||
mwld -export dllexport -nowraplines $(LINKFLAGS) -L$(LIBPATH) -L$(STDLIBPATH) $(IMPLIB_COMMAND)"$(<[2])" -o "$(<[1])" $(UNDEFS) $(NEEDLIBS) "$(>)" -l$(FINDLIBS)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user