diff options
author | Sree Harsha Totakura <totakura@in.tum.de> | 2013-05-24 13:15:32 +0000 |
---|---|---|
committer | Sree Harsha Totakura <totakura@in.tum.de> | 2013-05-24 13:15:32 +0000 |
commit | d71637007a11ed352bc82590fa6899faba3802d0 (patch) | |
tree | 8f82ff0664b6714c5184c3f3e33a13b12bdd3931 /doc/gnunet-c-tutorial.tex | |
parent | 6c1e65fe29f0dbd66b38b6b0b489bd211fab9882 (diff) |
- compile with CPPFLAGS and LDFLAGS; gcc doesn't take them automatically
Diffstat (limited to 'doc/gnunet-c-tutorial.tex')
-rw-r--r-- | doc/gnunet-c-tutorial.tex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/gnunet-c-tutorial.tex b/doc/gnunet-c-tutorial.tex index 27258ac8d..8ad4d3019 100644 --- a/doc/gnunet-c-tutorial.tex +++ b/doc/gnunet-c-tutorial.tex @@ -422,7 +422,7 @@ The source code for the above listing can be found at \begin{lstlisting} $ export CPPFLAGS="-I/path/to/gnunet/headers" $ export LDFLAGS="-L/path/to/gnunet/libraries" -$ gcc -o testbed-test testbed_test.c -lgnunettestbed -lgnunetdht -lgnunetutil +$ gcc $CPPFLAGS $LDFLAGS -o testbed-test testbed_test.c -lgnunettestbed -lgnunetdht -lgnunetutil \end{lstlisting} The \texttt{CPPFLAGS} and \texttt{LDFLAGS} are necessary if GNUnet is installed into a different directory other than \texttt{/usr/local}. |