Boost logo

Boost-Build :

From: Misha Bergal (mbergal_at_[hidden])
Date: 2006-12-07 13:17:09

David Abrahams wrote:
> Misha Bergal <mbergal_at_[hidden]> writes:
>> The following workaround gets around this by explicitly exiting if link failed:
>> actions link bind DEF_FILE
>> {
>> $(.LD) $(LINKFLAGS) /out:"$(<[1]:W)" /LIBPATH:"$(LINKPATH:W)" $(OPTIONS) @"@($(<[1]:W).rsp:E=$(nl)"$(>)" $(nl)$(LIBRARIES_MENTIONED_BY_FILE) $(nl)$(LIBRARIES) $(nl)"$(LIBRARY_OPTION)$(FINDLIBS_ST:S=.lib)" $(nl)"$(LIBRARY_OPTION)$(FINDLIBS_SA:S=.lib)")"
>> if errorlevel 1 exit %errorlevel%
>> if exist "$(<[1]).manifest" (
>> $(.MT) -manifest "$(<[1]).manifest" "-outputresource:$(<[1]);1"
>> )
>> }
> Well, although I applied this patch, it doesn't seem to work at all.
> I added an ECHO after the errorlevel test and it got executed despite
> the fatal link error. Can you come up with a patch that works?

Hmm, I don't see this on my system. Are sure that it gets _executed_, not just displayed.

Misha Bergal
MetaCommunications Engineering

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at