digitalmars.D.bugs - [Issue 11523] New: pragma(lib "x") doesn't have any effect in a static library
- d-bugmail puremagic.com (25/25) Nov 15 2013 https://d.puremagic.com/issues/show_bug.cgi?id=11523
https://d.puremagic.com/issues/show_bug.cgi?id=11523 Summary: pragma(lib "x") doesn't have any effect in a static library Product: D Version: D2 Platform: x86_64 OS/Version: Linux Status: NEW Severity: minor Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: flamaros.xavier gmail.com 15:30:15 PST --- A pragma(lib, "x") putted in a module that isn't not directly use by the client application doesn't make the dependency linked into the generated static library. The work around is to report the pragma(lib, "x") declaration in the main.d module. PS: I also think that the documentation on pragma(lib, "x") miss to explain the format that "x" must have on each platform. I am always confuse on the necessity to have the extension or not, and the "lib" prefix on linux. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Nov 15 2013