GCC Tool breaks linker for explicitly named libraries
"Steve Hill \(Wireless\) via Scons-users" <[email protected]>
| Newsgroups | gmane.comp.programming.tools.scons.user |
|---|---|
| Message-ID | <DM8PR18MB4469F74037F685198B65283ED1789@DM8PR18MB4469.namprd18.prod.outlook.com> |
Hi, We've had someone add a library as ":libfoo.a" to force the (GCC) linker to link against exactly "libfoo.a" and ignore "libfoo.so". Unfortunately, when they add this, _stripixes removes the ".a" and passes "-l:libfoo" to the linker. Since a library with the exact name "libfoo" doesn't exist, the link fails. If they add the library as ":libfoo.a.a", _stipixes removes one (and only one) ".a", leaving "-l:libfoo.a" and the link completes successfully. Is this a bug or is there a workaround for this use-case? Thanks, Steve. _______________________________________________ Scons-users mailing list [email protected] https://pairlist4.pair.net/mailman/listinfo/scons-users