[Scons-users] Force scons to use local libraries over system libraries
Mats Wichmann
mats at wichmann.us
Sat Aug 29 13:06:06 EDT 2020
On 8/29/20 11:00 AM, 暗黑聖飢魔 wrote:
> Thank you guys for clarifying that the path is not specified by SCons
> itself.
>
> I just double-checked and found where that "-L/*/usr/lib*/" comes from
> in gem5/SConstruct. The command "python-config --ldflags" is executed to
> obtain
> the ldflags needed by python and appended to LINKFLAGS. Prepending our
> library path to LINKFLAGS solves our problem.
>
> Hsuan
ah, good. So your SConstruct somewhere passes the result of
python-config to MergeFlags then?
More information about the Scons-users
mailing list