Commit 0f1ed64f authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Updated json-c to 0.15

parent 244488f8
all:
tar xf json-c-0.14-20200419.tar.gz
mkdir json-c-json-c-0.14-20200419/build
cd json-c-json-c-0.14-20200419/build && cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DDISABLE_WERROR=ON ..
$(MAKE) -C json-c-json-c-0.14-20200419/build
$(MAKE) -C json-c-json-c-0.14-20200419/build test
$(MAKE) -C json-c-json-c-0.14-20200419/build install
tar xf json-c-0.15.tar.gz
mkdir json-c-0.15/build
cd json-c-0.15/build && cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DDISABLE_WERROR=ON ..
$(MAKE) -C json-c-0.15/build
$(MAKE) -C json-c-0.15/build test
$(MAKE) -C json-c-0.15/build install
ln -sf /usr/include/json-c /usr/include/json
rm -rf json-c-json-c-0.14-20200419
rm -rf json-c-0.15
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment