mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-20 23:46:14 -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
|
||||
Cflags: "-I\${includedir}"
|
||||
EOF
|
||||
|
||||
sed -Ei 's/^(X265_LIBS:=.+\.a)$/\1 -lnuma/' Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
@ -56,8 +58,7 @@ src_compile() {
|
||||
$(usex jctvc USE_JCTVC=y '') \
|
||||
$(usex emcc USE_EMCC=y '') \
|
||||
CXX="$(tc-getCXX)" \
|
||||
CC="$(tc-getCC)" \
|
||||
LIBS="-lrt -lm -lpthread -lnuma"
|
||||
CC="$(tc-getCC)"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user