Commit c0ce5aaa authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Upgraded libcap to 2.36

parent a5d5525e
all:
tar xf libcap-2.27.tar.xz
cd libcap-2.27 && sed -i '/install.*STALIBNAME/d' libcap/Makefile
$(MAKE) -C libcap-2.27
$(MAKE) -C libcap-2.27 RAISE_SETFCAP=no lib=lib prefix=/usr install
tar xf libcap-2.36.tar.xz
cd libcap-2.36 && sed -i '/install.*STALIBNAME/d' libcap/Makefile
$(MAKE) -C libcap-2.36
$(MAKE) -C libcap-2.36 RAISE_SETFCAP=no lib=lib prefix=/usr install
chmod -v 755 /usr/lib/libcap.so
mv -v /usr/lib/libcap.so.* /lib
ln -sfv ../../lib/$$(readlink /usr/lib/libcap.so) /usr/lib/libcap.so
rm -rf libcap-2.27
rm -rf libcap-2.36
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