mirror of
https://github.com/nyanmisaka/mpp.git
synced 2026-01-23 22:20:39 +01:00
fix[cmake]: Add dependent libs to pkgconfig
fixes d1855e020d
/usr/lib/gcc-cross/aarch64-linux-gnu/14/../../../../aarch64-linux-gnu/bin/ld: .../lib/librockchip_mpp.so: undefined reference to `log2'
/usr/lib/gcc-cross/aarch64-linux-gnu/14/../../../../aarch64-linux-gnu/bin/ld: .../lib/librockchip_mpp.so: undefined reference to `sincos'
/usr/lib/gcc-cross/aarch64-linux-gnu/14/../../../../aarch64-linux-gnu/bin/ld: .../lib/librockchip_mpp.so: undefined reference to `log'
/usr/lib/gcc-cross/aarch64-linux-gnu/14/../../../../aarch64-linux-gnu/bin/ld: .../lib/librockchip_mpp.so: undefined reference to `pow'
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
Change-Id: I3bda683c4a468b66bc2d7cd84765a89c86e0d9e0
This commit is contained in:
parent
9233e3bd4d
commit
437bfbeb95
3 changed files with 4 additions and 2 deletions
|
|
@ -167,8 +167,10 @@ if(GCC)
|
|||
find_library(LMVEC_LIB mvec)
|
||||
if(LMVEC_LIB)
|
||||
set(LIBM mvec m)
|
||||
set(MPP_PKGCONFIG_DEPENDENT_LIBS "-lmvec -lm")
|
||||
else()
|
||||
set(LIBM m)
|
||||
set(MPP_PKGCONFIG_DEPENDENT_LIBS "-lm")
|
||||
add_definitions(-fno-builtin-pow)
|
||||
endif()
|
||||
|
||||
|
|
|
|||
|
|
@ -7,6 +7,6 @@ Name: rockchip_mpp
|
|||
Description: Rockchip Media Process Platform
|
||||
Requires.private:
|
||||
Version: 1.3.9
|
||||
Libs: -L${libdir} -lrockchip_mpp
|
||||
Libs: -L${libdir} -lrockchip_mpp @MPP_PKGCONFIG_DEPENDENT_LIBS@
|
||||
Libs.private:
|
||||
Cflags: -I${includedir}
|
||||
|
|
|
|||
|
|
@ -7,6 +7,6 @@ Name: rockchip_vpu
|
|||
Description: Rockchip Media Process Platform (Legacy)
|
||||
Requires.private:
|
||||
Version: 0.3.1
|
||||
Libs: -L${libdir} -lrockchip_vpu
|
||||
Libs: -L${libdir} -lrockchip_vpu @MPP_PKGCONFIG_DEPENDENT_LIBS@
|
||||
Libs.private:
|
||||
Cflags: -I${includedir}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue