From aa3764db3ca9b18438869bb017e3ecdc95f9dd53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20M=C3=A4kel=C3=A4?= Date: Sun, 22 Oct 2017 09:15:57 +0300 Subject: [PATCH] Let MaxScale build the Jansson library The CMake files in MaxScale automatically download the correct version of the Jansson library when it is configured. The build scripts used the default branch which can change. --- BUILD/install_build_deps.sh | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/BUILD/install_build_deps.sh b/BUILD/install_build_deps.sh index f9897c2fa..e8714c64a 100755 --- a/BUILD/install_build_deps.sh +++ b/BUILD/install_build_deps.sh @@ -109,22 +109,6 @@ cd tcl8.6.5/unix sudo make install cd ../../.. - -# Jansson -git clone https://github.com/akheron/jansson.git -if [ $? != 0 ] -then - echo "Error cloning jansson" - exit 1 -fi - -mkdir -p jansson/build -pushd jansson/build -cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_C_FLAGS=-fPIC -DJANSSON_INSTALL_LIB_DIR=$install_libdir -make -sudo make install -popd - # Avro C API wget -r -l1 -nH --cut-dirs=2 --no-parent -A.tar.gz --no-directories http://mirror.netinch.com/pub/apache/avro/stable/c if [ $? != 0 ]