diff options
author | Francis Dupont <fdupont@isc.org> | 2018-09-16 01:27:07 +0200 |
---|---|---|
committer | Francis Dupont <fdupont@isc.org> | 2018-09-16 01:27:07 +0200 |
commit | 2052260ffbce21a447ca183747f56eea456a0b66 (patch) | |
tree | 8ee8dd31da37530d8c879ac1390e4005866cb346 /tools | |
parent | [master] Removed parsers/dbaccess_parser.{h,cc} which were moved to database (diff) | |
download | kea-2052260ffbce21a447ca183747f56eea456a0b66.tar.xz kea-2052260ffbce21a447ca183747f56eea456a0b66.zip |
[65-libyang-config-build] Updated configure and top Makefile
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/sysrepo_config | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/tools/sysrepo_config b/tools/sysrepo_config index 6da9404e63..a4f1165bca 100755 --- a/tools/sysrepo_config +++ b/tools/sysrepo_config @@ -39,6 +39,8 @@ then echo " get lib path" echo "--modversion" echo " get version" + echo "--variable=SR_REPOSITORY_LOC" + echo " get repo path" echo "libraries:" echo " libsysrepo" exit 0 @@ -67,7 +69,8 @@ then fi if [ $1 == "--libs" ] then - echo "-L${SYSREPO_PATH}/build/src -L${SYSREPO_PATH}/build/swig -L$YANG_LIBRARY_PATH -l:${sysrepo_lib}.a -lSysrepo-cpp -lyang -pthread -lpcre -lev -lprotobuf -lavl -lprotobuf-c" +# Earlier versions also required -lprotobuf, but it is no longer needed. + echo "-L${SYSREPO_PATH}/build/src -L${SYSREPO_PATH}/build/swig -L$YANG_LIBRARY_PATH -l:${sysrepo_lib}.a -lSysrepo-cpp -lyang -pthread -lpcre -lev -lavl -lprotobuf-c" exit 0 fi if [ $1 == "--modversion" ] @@ -78,5 +81,9 @@ then echo "${MAJOR}.${MINOR}.${PATCH}" exit 0 fi +if [ $1 == "--variable=SR_REPOSITORY_LOC" ] +then + echo "${SYSREPO_PATH}/build/repository" +fi echo "wrong parameter" echo "run: \`$0 --help\` for more help" |