diff options
author | William Deegan <bill@baddogconsulting.com> | 2021-02-26 23:03:04 (GMT) |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2021-02-26 23:03:04 (GMT) |
commit | 826880ba2ef98d231598ca07b83031f7ff0f7af4 (patch) | |
tree | e63336b99fbb8b4bccfbd2797efda70599f953be | |
parent | 42475223c5d41f5868007c9602cd42a127c5528c (diff) | |
download | SCons-826880ba2ef98d231598ca07b83031f7ff0f7af4.zip SCons-826880ba2ef98d231598ca07b83031f7ff0f7af4.tar.gz SCons-826880ba2ef98d231598ca07b83031f7ff0f7af4.tar.bz2 |
a few updates. Soften wording advising aginst adding library inclusion directives in LINKFLAGS. There are some reasons, but they are mainly for advanced SCons users using them with caution. Added to LIBS that it can also affect shared libraries and loadable modules
-rw-r--r-- | SCons/Defaults.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/SCons/Defaults.xml b/SCons/Defaults.xml index bb52823..16b79ff 100644 --- a/SCons/Defaults.xml +++ b/SCons/Defaults.xml @@ -196,7 +196,7 @@ to each directory in &cv-link-CPPPATH;. The list of directories that the C preprocessor will search for include directories. The C/C++ implicit dependency scanner will search these directories for include files. -Do not put include directory directives +In general it's not advised to put include directory directives directly into &cv-link-CCFLAGS; or &cv-link-CXXFLAGS; as the result will be non-portable and the directories will not be searched by the dependency scanner. @@ -527,7 +527,7 @@ env = Environment(LINKCOM="my_linker $_LIBDIRFLAGS $_LIBFLAGS -o $TARGET $SOURCE <para> A list of one or more libraries that will be added to the link line -for linking with any executable program +for linking with any executable program, shared library, or loadable module created by the &consenv; or override. </para> |