[Scons-users] Problems with ParseFlags()
Dirk Bächle
tshortik at gmx.de
Sun Mar 27 11:00:21 EDT 2016
William,
On 27.03.2016 16:19, William Blevins wrote:
> Dirk,
>
> I'm not sure that this is a bug. It may just be that the SCons User's Guide is not specific about the assumptions of ParseConfig
> implementation.
>
the documentation of ParseFlags is specific enough for this case in my opinion:
"[...] Any other strings not associated with options are assumed to be the names of libraries and added to the $LIBS construction
variable. [...]"
There is no need to be specific about whether "--cflags" or "--libs" should be used when calling "pkg_config". The listed
options/flags are supported and that's it. Note, how ParseFlags also doesn't require you to call "pkg_config"...the provided flags
can come from anywhere...
Best regards,
Dirk
More information about the Scons-users
mailing list