mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
lz4, disable static library (#7642)
This commit is contained in:
@@ -6,7 +6,7 @@ core, typically reaching RAM speed limits on multi-core systems."
|
||||
HOMEPAGE="https://lz4.github.io/lz4/"
|
||||
COPYRIGHT="2011-2019 Yann Collet"
|
||||
LICENSE="BSD (2-clause)"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
SOURCE_URI="https://github.com/lz4/lz4/archive/v$portVersion.tar.gz"
|
||||
SOURCE_FILENAME="lz4-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="030644df4611007ff7dc962d981f390361e6c97a34e5cbc393ddfbe019ffe2c1"
|
||||
@@ -77,13 +77,16 @@ PATCH()
|
||||
|
||||
BUILD()
|
||||
{
|
||||
make -C lib $jobArgs
|
||||
make -C lib BUILD_STATIC=no $jobArgs
|
||||
make -C programs $jobArgs lz4 lz4c
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install LIBDIR="$libDir" INCLUDEDIR="$includeDir" BINDIR="$binDir"
|
||||
make BUILD_STATIC=no install \
|
||||
LIBDIR="$libDir" \
|
||||
INCLUDEDIR="$includeDir" \
|
||||
BINDIR="$binDir"
|
||||
|
||||
if [ -n "$secondaryArchSuffix" ]; then
|
||||
rm "$binDir"/lz4
|
||||
|
||||
Reference in New Issue
Block a user