]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
fixed merge
authorRazvan Becheriu <razvan@isc.org>
Thu, 18 Apr 2019 13:21:27 +0000 (16:21 +0300)
committerRazvan Becheriu <razvan@isc.org>
Thu, 16 May 2019 15:12:40 +0000 (18:12 +0300)
tools/sysrepo_config

index c41d847116329d69270416e4539773d53bfa7afd..fd28a86a468febb8848634e7e51b0249fd29773d 100755 (executable)
@@ -61,16 +61,14 @@ elif [ "$2" != "libsysrepo" ] && [ "$2" != "libSysrepo-cpp" ]; then
     echo "run: \`$0 --help\` for more help"
     exit 0
 fi
-if [ $1 == "--cflags-only-I" ]
-then
-       echo "-I${SYSREPO_PATH}/include/"
-       exit 0
+
+if [ "$1" = "--cflags-only-other" ]; then
+    exit 0
 fi
-if [ $1 == "--libs" ]
-then
-# Earlier versions also required -lprotobuf, but it is no longer needed.
-       echo "-L${SYSREPO_PATH}/lib/ -L${YANG_LIBRARY_PATH} -lsysrepo -lSysrepo-cpp -lyang -pthread -lpcre -lev -lavl -lprotobuf-c"
-       exit 0
+
+if [ "$1" = "--cflags-only-I" ]; then
+    echo "-I${SYSREPO_PATH}/include/"
+    exit 0
 fi
 
 if [ "$1" = "--libs" ]; then
@@ -89,6 +87,7 @@ fi
 
 if [ "$1" = "--variable=SR_REPOSITORY_LOC" ]; then
     echo "${SYSREPO_PATH}/build/repository"
+    exit 0
 fi
 
 echo "wrong parameter"