mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
libarchive: only build libraries
This commit is contained in:
parent
0613792706
commit
cf50ff70f6
@ -12,17 +12,35 @@ PKG_DEPENDS_TARGET="cmake:host gcc:host"
|
||||
PKG_SHORTDESC="A multi-format archive and compression library."
|
||||
|
||||
PKG_CMAKE_OPTS_TARGET="-DCMAKE_POSITION_INDEPENDENT_CODE=1 \
|
||||
-DENABLE_EXPAT=0 \
|
||||
-DENABLE_ICONV=0 \
|
||||
-DENABLE_LIBXML2=0 \
|
||||
-DENABLE_LZO=1 \
|
||||
-DENABLE_TEST=0 \
|
||||
-DENABLE_COVERAGE=0 \
|
||||
-DENABLE_WERROR=0"
|
||||
|
||||
post_makeinstall_target() {
|
||||
rm -rf ${INSTALL}
|
||||
|
||||
# delete the shared library as we only want static
|
||||
rm ${SYSROOT_PREFIX}/usr/lib/libarchive.so*
|
||||
}
|
||||
-DBUILD_SHARED_LIBS=OFF \
|
||||
-DENABLE_ACL=ON \
|
||||
-DENABLE_BZip2=ON \
|
||||
-DENABLE_CAT=OFF \
|
||||
-DENABLE_CAT_SHARED=FALSE \
|
||||
-DENABLE_CNG=ON \
|
||||
-DENABLE_COVERAGE=FALSE \
|
||||
-DENABLE_CPIO=OFF \
|
||||
-DENABLE_CPIO_SHARED=FALSE \
|
||||
-DENABLE_EXPAT=OFF \
|
||||
-DENABLE_ICONV=OFF \
|
||||
-DENABLE_INSTALL=ON \
|
||||
-DENABLE_LIBB2=OFF \
|
||||
-DENABLE_LIBGCC=ON \
|
||||
-DENABLE_LIBXML2=OFF \
|
||||
-DENABLE_LZ4=ON \
|
||||
-DENABLE_LZMA=OFF \
|
||||
-DENABLE_LZO=ON \
|
||||
-DENABLE_MBEDTLS=OFF \
|
||||
-DENABLE_NETTLE=OFF \
|
||||
-DENABLE_OPENSSL=ON \
|
||||
-DENABLE_PCRE2POSIX=ON \
|
||||
-DENABLE_PCREPOSIX=OFF \
|
||||
-DENABLE_TAR=OFF \
|
||||
-DENABLE_TAR_SHARED=FALSE \
|
||||
-DENABLE_TEST=OFF \
|
||||
-DENABLE_UNZIP=OFF \
|
||||
-DENABLE_UNZIP_SHARED=FALSE \
|
||||
-DENABLE_WERROR=0 \
|
||||
-DENABLE_XATTR=ON \
|
||||
-DENABLE_ZLIB=ON \
|
||||
-DENABLE_ZSTD=ON"
|
||||
|
Loading…
x
Reference in New Issue
Block a user