- compile with CPPFLAGS and LDFLAGS; gcc doesn't take them automatically
authorSree Harsha Totakura <totakura@in.tum.de>
Fri, 24 May 2013 13:15:32 +0000 (13:15 +0000)
committerSree Harsha Totakura <totakura@in.tum.de>
Fri, 24 May 2013 13:15:32 +0000 (13:15 +0000)
doc/gnunet-c-tutorial.pdf
doc/gnunet-c-tutorial.tex

index 5754515909a996791ff58b54752d8cdc08c2b714..1b5af84c62858b209f195d6d467de8efc9a3c9fc 100644 (file)
Binary files a/doc/gnunet-c-tutorial.pdf and b/doc/gnunet-c-tutorial.pdf differ
index 27258ac8d509b9da7be264c184c6fe2df7184c4e..8ad4d30190a1dc9217ed1635fa5bb3b1a5f2e576 100644 (file)
@@ -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}.