libmspack, disable instead of remove the static library (#8158)

This commit is contained in:
Schrijvers Luc
2023-03-29 11:59:56 +02:00
committed by GitHub
parent addb06bdc9
commit bc88850100

View File

@@ -15,7 +15,7 @@ the highest-versioned library component."
HOMEPAGE="https://www.cabextract.org.uk/libmspack/"
COPYRIGHT="2000-2018 Stuart Caie"
LICENSE="GNU LGPL v2"
REVISION="1"
REVISION="2"
SOURCE_URI="${HOMEPAGE}libmspack-${portVersion/\~/}.tar.gz"
CHECKSUM_SHA256="bac862dee6e0fc10d92c70212441d9f8ad9b0222edc9a708c3ead4adb1b24a8e"
SOURCE_DIR="libmspack-${portVersion/\~/}"
@@ -63,7 +63,7 @@ defineDebugInfoPackage libmspack$secondaryArchSuffix \
BUILD()
{
runConfigure ./configure
runConfigure ./configure --disable-static
if [ "$effectiveTargetArchitecture" = x86_gcc2 ]; then
make $jobArgs AM_CFLAGS=-Wall
else
@@ -85,7 +85,7 @@ INSTALL()
rm -rf "$binDir"
fi
rm -f "$libDir"/libmspack.la "$libDir"/libmspack.a
rm -f "$libDir"/libmspack.la
prepareInstalledDevelLib libmspack
fixPkgconfig