From: Razvan Becheriu Date: Sat, 9 Mar 2019 07:07:51 +0000 (+0200) Subject: export LIBYANG_PATH from config_defines X-Git-Tag: Kea-1.6.0-beta~136 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8a71353b4c967008587adb274a5ac0ec2205160c;p=thirdparty%2Fkea.git export LIBYANG_PATH from config_defines --- diff --git a/tools/sysrepo_config b/tools/sysrepo_config index 4180cd20b4..e03007e16a 100755 --- a/tools/sysrepo_config +++ b/tools/sysrepo_config @@ -10,10 +10,6 @@ # This script is used to run Kea from installation directory, # as well as for running tests. -if [ -z "${YANG_LIBRARY_PATH}" ]; then - YANG_LIBRARY_PATH=/ -fi - if [ "$(uname -s)" = "Darwin" ]; then DIR=$(stat -f %N "$0" | xargs dirname) else @@ -79,7 +75,7 @@ fi if [ "$1" = "--libs" ]; then # Earlier versions also required -lprotobuf, but it is no longer needed. - echo "-L${LIBYANG_PATH}/lib/ -L${SYSREPO_PATH}/lib/ -lsysrepo -lSysrepo-cpp -lyang -pthread -lpcre -lev -lavl -lprotobuf-c" + echo "-L${SYSREPO_PATH}/lib/ -L${LIBYANG_PATH}/lib/ -lsysrepo -lSysrepo-cpp -lyang -pthread -lpcre -lev -lavl -lprotobuf-c" exit 0 fi