aboutsummaryrefslogtreecommitdiffstats
path: root/doc/book/start.tex
diff options
context:
space:
mode:
Diffstat (limited to 'doc/book/start.tex')
-rw-r--r--doc/book/start.tex6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/book/start.tex b/doc/book/start.tex
index 2983bbfc..f1693301 100644
--- a/doc/book/start.tex
+++ b/doc/book/start.tex
@@ -26,7 +26,7 @@ You can simply build your program with:
to use the static version, or with:
\begin{verbatim}
- $ g++ `pkg-config --cflags --libs vmime` -o myprog myprog.cpp
+ $ g++ `pkg-config --cflags vmime` -o myprog myprog.cpp `pkg-config --libs vmime`
\end{verbatim}
to use the shared version.
@@ -82,8 +82,8 @@ So, if your platform is POSIX, your program should look like this:
#include <vmime/vmime.hpp>
#include <vmime/platforms/posix/posixHandler.hpp>
-int main()
-{
+int main() {
+
vmime::platform::
setHandler <vmime::platforms::posix::posixHandler>();