libcap: Do not build for Go

I think we do not need this.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2021-04-07 13:09:47 +00:00
parent 0973d01255
commit 7f6d6e19c9

View File

@@ -72,8 +72,8 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
# Prevent a static library from being installed
cd $(DIR_APP) && sed -i '/install.*STALIBNAME/d' libcap/Makefile
cd $(DIR_APP) && make
cd $(DIR_APP) && make install
cd $(DIR_APP) && make GOLANG=no
cd $(DIR_APP) && make install GOLANG=no
# links for old binaries
ln -svf libcap.so.2 /lib/libcap.so.1
ln -svf /lib/libcap.so.2.25 /usr/lib/libcap.so