dev-libs/bitshuffle: fix underlinked error

Bug: https://bugs.gentoo.org/914570
Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/38110
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
This commit is contained in:
Volkmar W. Pogatzki
2024-08-12 07:29:35 +02:00
committed by Miroslav Šulc
parent c85989e215
commit d4bba0ecd6
2 changed files with 8 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
# Copyright 2021-2022 Gentoo Authors
# Copyright 2021-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -17,6 +17,10 @@ DEPEND="
app-arch/lz4
"
RDEPEND="
app-arch/lz4
"
src_prepare() {
cp "${FILESDIR}/${P}-Makefile" "Makefile" || die "Failed to copy Makefile"
default

View File

@@ -26,8 +26,10 @@ OBJS = \
src/bitshuffle_core.o \
src/iochain.o
LIBS := -llz4
$(SOFILE): $(OBJS)
$(CC) $(CFLAGS) -o $@ -shared $(LDFLAGS) -Wl,-soname,$(SONAME) $^
$(CC) $(CFLAGS) -o $@ -shared $(LDFLAGS) -Wl,-soname,$(SONAME) $^ $(LIBS)
%.o: %.c
$(CC) $(CFLAGS) -Isrc -c $< -o $@