1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-12 18:59:50 +03:00

community/libaec: set -DBUILD_STATIC_LIBS=False

Otherwise the cmake files try to find a non-existing static library
This commit is contained in:
Sertonix 2025-07-11 00:28:56 +02:00 committed by achill (fossdd)
parent 7a02f9581c
commit 58decdbf0f

View file

@ -2,7 +2,7 @@
# Maintainer: Holger Jaekel <holger.jaekel@gmx.de>
pkgname=libaec
pkgver=1.1.4
pkgrel=0
pkgrel=1
pkgdesc="Adaptive Entropy Coding library"
url="https://gitlab.dkrz.de/k202009/libaec"
arch="all"
@ -28,6 +28,7 @@ build() {
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_SHARED_LIBS=True \
-DBUILD_STATIC_LIBS=False \
-DCMAKE_BUILD_TYPE=None \
$crossopts
cmake --build build
@ -40,7 +41,6 @@ check() {
package() {
DESTDIR="$pkgdir" cmake --install build
rm $pkgdir/usr/lib/*.a
}
tools() {