build: Correcting library detection

When detecting location of the library, `includes` and `libpath`
variables must be used instead of `cxxflags` and `linkflags`.  While the
latter also makes everything work, it results in unexpected behavior:
waf always adds LINKFLAGS* in the beginning of the linking command,
which can screw up order in which libraries are selected (e.g.,
system-installed library can be chosen instead of the compiled version).

Change-Id: I9ed36e8a4e8523b33ca2e88414aed8de5111c9cd
3 files changed
tree: 5583dac5c0b2eee081acb8ecf0d3169dfbd621a4
  1. .waf-tools/
  2. docs/
  3. examples/
  4. src/
  5. tests/
  6. tests-integrated/
  7. tools/
  8. .gitignore
  9. .travis.yml
  10. AUTHORS.md
  11. client.conf.sample
  12. COPYING
  13. libndn-cxx.pc.in
  14. README-dev.md
  15. README.md
  16. waf
  17. wscript
README.md

ndn-cxx: NDN C++ library with eXperimental eXtensions

ndn-cxx is a C++ library, implementing Named Data Networking (NDN) primitives that can be used to implement various NDN applications. The library is currently being used as part of the following projects:

See the file docs/INSTALL.rst for build and install instructions.

Please submit any bugs or issues to the ndn-cxx issue tracker: http://redmine.named-data.net/projects/ndn-cxx/issues

More documentation

Extensive documentation of the library is available on the library's homepage: http://www.named-data.net/doc/ndn-cxx/

License

ndn-cxx is an open source project licensed under BSD license. For more information about the license, refer to COPYING.

While the license does not require it, we really would appreciate it if others would share their contributions to the library if they are willing to do so under the same license.