[esnacc-dev,RFC,5/5] doc/developer-guide-sample-app: Update compile line

Message ID 1483482316-10045-6-git-send-email-aconole@bytheb.org
State RFC, archived
Delegated to: Aaron Conole
Headers show
Series
  • [esnacc-dev,RFC,1/5] snacc: Change c and c++ api
Related show

Commit Message

Aaron Conole Jan. 3, 2017, 10:25 p.m.
The developer guide for C++ includes a now superfluous reference to the
cxx-lib include directory.  With a prior change, if the esnacc library is
installed in a standard prefix (aka `/usr`), there is no longer a need
to spell out the includes, so remove it.

Signed-off-by: Aaron Conole <aconole@redhat.com>

---
 doc/developer-guide-sample-app.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/doc/developer-guide-sample-app.md b/doc/developer-guide-sample-app.md
index 8e69b15..9249fc5 100644
--- a/doc/developer-guide-sample-app.md
+++ b/doc/developer-guide-sample-app.md
@@ -480,7 +480,7 @@  Wrapping each of the C++ code sections above in a single file called
 We can compile this with the following simple command:
 
 `g++ -std=c++0x -o test discovery.cpp NodeDiscovery.cpp
-     -I. -I/usr/include/cxx-lib/inc -lcxxasn1 -pthread -lrt`
+     -I. -lcxxasn1 -pthread -lrt`
 
 That will generate the *test* binary, which can be executed on our host
 machine.  It is important not to run this in production - after all it is meant