mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-05-11 01:38:25 +02:00
libcap: Fix symlink to libcap.so
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -1,5 +1,4 @@
|
|||||||
#lib/libcap.a
|
#lib/libcap.a
|
||||||
lib/libcap.so
|
|
||||||
lib/libcap.so.2
|
lib/libcap.so.2
|
||||||
lib/libcap.so.2.49
|
lib/libcap.so.2.49
|
||||||
#lib/libpsx.a
|
#lib/libpsx.a
|
||||||
|
|||||||
@@ -74,7 +74,8 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
|||||||
cd $(DIR_APP) && sed -i '/install.*STALIBNAME/d' libcap/Makefile
|
cd $(DIR_APP) && sed -i '/install.*STALIBNAME/d' libcap/Makefile
|
||||||
cd $(DIR_APP) && make GOLANG=no
|
cd $(DIR_APP) && make GOLANG=no
|
||||||
cd $(DIR_APP) && make install GOLANG=no
|
cd $(DIR_APP) && make install GOLANG=no
|
||||||
ln -svf /lib/libcap.so.2.25 /usr/lib/libcap.so
|
rm -vf /lib/libcap.so
|
||||||
|
ln -svf /lib/libcap.so.2.49 /usr/lib/libcap.so
|
||||||
chmod +x /lib/libcap.so.*
|
chmod +x /lib/libcap.so.*
|
||||||
@rm -rf $(DIR_APP)
|
@rm -rf $(DIR_APP)
|
||||||
@$(POSTBUILD)
|
@$(POSTBUILD)
|
||||||
|
|||||||
Reference in New Issue
Block a user