]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
libcap: Do not build for Go
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 7 Apr 2021 13:09:47 +0000 (13:09 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 7 Apr 2021 13:09:47 +0000 (13:09 +0000)
I think we do not need this.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
lfs/libcap

index 55110138a86f68d4fcc66ab26a775f5874bdb6a6..5c2d843ad3921425af8b28cf2eb073c92cb917f9 100644 (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