mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
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:
committed by
Miroslav Šulc
parent
c85989e215
commit
d4bba0ecd6
@@ -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
|
||||
@@ -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 $@
|
||||
|
||||
Reference in New Issue
Block a user