libsoxr: Build cleanup.
Remove automatic inclusion of avutil if ffmpeg libraries present in build. Signed-off-by: Ted Hess <thess@kitschensync.net>
This commit is contained in:
parent
ac5b0f1996
commit
00de391b66
2 changed files with 11 additions and 3 deletions
|
@ -21,9 +21,6 @@ PKG_MAINTAINER:=Ted Hess <thess@kitschensync.net>, \
|
||||||
PKG_LICENSE:=LGPL-2.1
|
PKG_LICENSE:=LGPL-2.1
|
||||||
PKG_LICENSE_FILES:=LICENCE
|
PKG_LICENSE_FILES:=LICENCE
|
||||||
|
|
||||||
PKG_FIXUP:=libtool
|
|
||||||
PKG_REMOVE_FILES:=autogen.sh
|
|
||||||
|
|
||||||
PKG_BUILD_PARALLEL:=1
|
PKG_BUILD_PARALLEL:=1
|
||||||
PKG_INSTALL:=1
|
PKG_INSTALL:=1
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
--- a/CMakeLists.txt
|
||||||
|
+++ b/CMakeLists.txt
|
||||||
|
@@ -134,7 +134,7 @@ if (WITH_AVFFT)
|
||||||
|
endif ()
|
||||||
|
endif ()
|
||||||
|
|
||||||
|
-if (WITH_AVFFT OR (CMAKE_SYSTEM_PROCESSOR MATCHES "^arm" AND SIMD32_FOUND AND WITH_CR32))
|
||||||
|
+if (WITH_AVFFT)
|
||||||
|
find_package (LibAVUtil)
|
||||||
|
if (AVUTIL_FOUND)
|
||||||
|
include_directories (${AVUTIL_INCLUDE_DIRS})
|
Loading…
Reference in a new issue