2
0
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:
Dave Abrahams
2001-09-24 22:23:56 +00:00
parent da8a2bc6ce
commit 9399dec20e
2 changed files with 4 additions and 2 deletions

View File

@@ -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)
}

View File

@@ -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)
}