]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
export LIBYANG_PATH from config_defines
authorRazvan Becheriu <ravan@isc.org>
Sat, 9 Mar 2019 07:07:51 +0000 (09:07 +0200)
committerRazvan Becheriu <razvan@isc.org>
Thu, 16 May 2019 15:12:40 +0000 (18:12 +0300)
tools/sysrepo_config

index 4180cd20b407a73d0643d19593091a2051f01b8c..e03007e16a5321eb982c0abc021a5abc5eb53427 100755 (executable)
 # 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