summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2021-02-26 23:03:04 (GMT)
committerWilliam Deegan <bill@baddogconsulting.com>2021-02-26 23:03:04 (GMT)
commit826880ba2ef98d231598ca07b83031f7ff0f7af4 (patch)
treee63336b99fbb8b4bccfbd2797efda70599f953be
parent42475223c5d41f5868007c9602cd42a127c5528c (diff)
downloadSCons-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.xml4
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>