fix linking on ARM

Here's what I'm getting from Buildroot on a real ARM HW:

 ~ # sysrepo-cli
 sysrepo-cli: error while loading shared libraries: liblibyangutils.so: cannot open shared object file: No such file or directory
 line-NFP ~ # ldd $(which sysrepo-cli) | grep yang
         liblibyangutils.so => not found
         libyang-cpp.so.1 => /lib/libyang-cpp.so.1 (0xb6dd6000)
         libyang.so.1 => /lib/libyang.so.1 (0xb6ccd000)

Fix this by making sure that all our libraries are produced STATIC, not
dynamic. Also, do not try to use library names prefixed with "lib"
because that's a prefix which is very often omitted. The fewer bits that
could go wrong the better, IMHO.

Fixes: 2e4cafe3 ("Fix leafDataFromValue")
Change-Id: I768e93d76cad6817f98fdecc925ce2151bece7c1
1 file changed
tree: 726c9b007f19f6a2eb9a584903341ee84b1903c6
  1. .clang-format
  2. .gitmodules
  3. .zuul.CzechLight-internal.yaml
  4. .zuul.public.yaml
  5. CMakeLists.txt
  6. Doxyfile.in
  7. LICENSE
  8. LICENSE.md
  9. README.md
  10. ci/
  11. cmake/
  12. docs/
  13. src/
  14. submodules/
  15. tests/
README.md

Console interface to NETCONF servers

This program provides an interactive console for working with YANG data. It can connect to NETCONF servers, and also talk to sysrepo locally.

Installation

For building, one needs:

Use an exact commit of any dependencies as specified in submodules/dependencies/*.

The build process uses CMake. A quick-and-dirty build with no fancy options can be as simple as mkdir build && cd build && cmake .. && make && make install.

Bug Reporting

Issue reporting and feature requests are welcome via Taiga.io.

Development

We are using Gerrit for patch submission, code review and Continuous Integration (CI). Development roadmap and planning happens over Taiga.io.

Credits

Copyright © CESNET, https://www.cesnet.cz/ . Portions copyright © Faculty of Information Technology, Czech Technical University in Prague, https://fit.cvut.cz/ . Most of the code was written by Václav Kubernát (CESNET, formerly FIT ČVUT) and Jan Kundrát (CESNET). The project is distributed under the terms of the Apache 2.0 license.