Re: Force scons to use local libraries over system libraries

Mats Wichmann <[email protected]>
Newsgroups gmane.comp.programming.tools.scons.user
Message-ID <[email protected]>
On 8/29/20 11:20 AM, 暗黑聖飢魔 wrote:
> The result of python-config is appended to LINKFLAGS. I assume it is
> SCons that passes LINKFLAGS to the compilers?

Yes. It's described here:

https://scons.org/doc/4.0.1/HTML/scons-man.html#cv-LINKFLAGS

The work that's being done in your SConstruct for this actually has
SCons methods to help out with:

https://scons.org/doc/4.0.1/HTML/scons-man.html#f-MergeFlags

(see the examples there - SCons knows how to talk to the system's
*-config scripts)

but if things are working for you now I wouldn't necessarily go messing
with that....


_______________________________________________
Scons-users mailing list
[email protected]
https://pairlist4.pair.net/mailman/listinfo/scons-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.