mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-21 07:52:21 -04:00
media-libs/libbpg: Add -lnuma to X265_LIBS instead of to LIBS.
X265_LIBS is only used in bpgenc binary, LIBS in bpgenc bpgdec and bpgview. Signed-off-by: Ronny (tastytea) Gutbrod <gentoo@tastytea.de>
This commit is contained in:
parent
5dd356ea48
commit
df1e257df3
@ -47,6 +47,8 @@ Version: ${PV}
|
|||||||
Libs: "-L\${libdir}" -lbpg
|
Libs: "-L\${libdir}" -lbpg
|
||||||
Cflags: "-I\${includedir}"
|
Cflags: "-I\${includedir}"
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
sed -Ei 's/^(X265_LIBS:=.+\.a)$/\1 -lnuma/' Makefile || die
|
||||||
}
|
}
|
||||||
|
|
||||||
src_compile() {
|
src_compile() {
|
||||||
@ -56,8 +58,7 @@ src_compile() {
|
|||||||
$(usex jctvc USE_JCTVC=y '') \
|
$(usex jctvc USE_JCTVC=y '') \
|
||||||
$(usex emcc USE_EMCC=y '') \
|
$(usex emcc USE_EMCC=y '') \
|
||||||
CXX="$(tc-getCXX)" \
|
CXX="$(tc-getCXX)" \
|
||||||
CC="$(tc-getCC)" \
|
CC="$(tc-getCC)"
|
||||||
LIBS="-lrt -lm -lpthread -lnuma"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user