Bugs item #2149527, was opened at 2008-10-06 15:38
Message generated for change (Comment added) made by drieseng
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=2149527&group_id=31650

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Tasks
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Daniel (dfolker)
Assigned to: Nobody/Anonymous (nobody)
Summary: AdditionalOptions not used for static libs

Initial Comment:
The AdditionalOptions attribute under the linker is not used for VisualStudio 
projects if the project is compiled as a static lib.

Compiling a solution where projects use compiled as static libraries does not 
get linked correctly due to this and in my case the solution does not finish 
because of this.

<Tool
Name="VCLibrarianTool"
AdditionalOptions="/LIBPATH:&quot;../../3rdPart/AC Tech 940/&quot; 
SS940Control.lib"
OutputFile="$(OutDir)/DvServo.lib"/>

In the above case Nant ignores the AdditionalOptions attribute and the result 
of this is that SS940Control.lib fails to link into DvServo.lib and when the 
lib is used in a dll or exe it fails to link complaining of missing symbols.

----------------------------------------------------------------------

>Comment By: Gert Driesen (drieseng)
Date: 2008-10-06 18:10

Message:
Can you please attach a minimal self-contained repro?
Thanks!

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=2149527&group_id=31650

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to