summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2005-12-16 12:32:37 (GMT)
committerSteven Knight <knight@baldmt.com>2005-12-16 12:32:37 (GMT)
commit745e6b9664e75e82cd4b8817f4e89ce709609a7a (patch)
tree29347713bba8146026ba8bacc26c54a0fe417caa /doc
parent1d015435c604590ce2047848fd534b9900423bb2 (diff)
downloadSCons-745e6b9664e75e82cd4b8817f4e89ce709609a7a.zip
SCons-745e6b9664e75e82cd4b8817f4e89ce709609a7a.tar.gz
SCons-745e6b9664e75e82cd4b8817f4e89ce709609a7a.tar.bz2
Add mention of LIBSUFFIXES in the SharedLibrary() example for overriding SHLIBSUFFIX.
Diffstat (limited to 'doc')
-rw-r--r--doc/man/scons.111
1 files changed, 9 insertions, 2 deletions
diff --git a/doc/man/scons.1 b/doc/man/scons.1
index b5199be..b2fec58 100644
--- a/doc/man/scons.1
+++ b/doc/man/scons.1
@@ -1352,12 +1352,19 @@ libraries for just one program:
env.Program('hello', 'hello.c', LIBS=['gl', 'glut'])
.EE
-or generate a shared library with a nonstandard suffix:
+or generate a shared library with a non-standard suffix:
.ES
-env.SharedLibrary('word', 'word.cpp', SHLIBSUFFIX='.ocx')
+env.SharedLibrary('word', 'word.cpp',
+ SHLIBSUFFIX='.ocx',
+ LIBSUFFIXES=['.ocx'])
.EE
+(Note that both the $SHLIBSUFFIX and $LIBSUFFIXES variables must be set
+if you want SCons to search automatically
+for dependencies on the non-standard library names;
+see the descriptions of these variables, below, for more information.)
+
Although the builder methods defined by
.B scons
are, in fact,