diff --git a/doc/src/overview.xml b/doc/src/overview.xml
index 9fc30adb1..6dbb38a84 100644
--- a/doc/src/overview.xml
+++ b/doc/src/overview.xml
@@ -1194,14 +1194,14 @@ obj main : main.cpp : <optimization>off ;
release mode.
lib network : network.cpp
- : <link>shared:<define>NEWORK_LIB_SHARED
+ : <link>shared:<define>NETWORK_LIB_SHARED
<variant>release:<define>EXTRA_FAST
;
In the example above, whenever network is
built with <link>shared,
- <define>NEWORK_LIB_SHARED will be in its
+ <define>NETWORK_LIB_SHARED will be in its
properties, too.
diff --git a/doc/src/tutorial.xml b/doc/src/tutorial.xml
index 141ed9196..29a014393 100644
--- a/doc/src/tutorial.xml
+++ b/doc/src/tutorial.xml
@@ -556,12 +556,12 @@ exe app : app.cpp core ;
lib network : network.cpp
- : <link>shared:<define>NEWORK_LIB_SHARED
+ : <link>shared:<define>NETWORK_LIB_SHARED
<variant>release:<define>EXTRA_FAST
;
In the example above, whenever network is built with
- <link>shared, <define>NEWORK_LIB_SHARED
+ <link>shared, <define>NETWORK_LIB_SHARED
will be in its properties, too. Also, whenever its release variant
is built, <define>EXTRA_FAST will appear in its
properties.