[Scons-users] Linking with target alias
Gary Oberbrunner
garyo at oberbrunner.com
Tue Aug 21 09:35:48 EDT 2012
On Tue, Aug 21, 2012 at 8:59 AM, Mariusz Buras <mariusz.buras at gmail.com> wrote:
> Thanks for quick answer,
>
> This doesn't seem to work because scons sees '$MYLIB' not as a node
> but as a file on disk. At least that what I think is happening because
> I get an error message complaining that my /path/to/lib.a is not found
> when it tries to link my executable even before it attempts to build
> the library. Does anything else spring to mind before I'll roll our my
> custom solution?
Hi Mariusz, if you send a short sample I'll take a look. SCons does
translate Nodes to paths (using str(Node)) in commands, but that
should work OK.
--
Gary
More information about the Scons-users
mailing list