Pārlūkot izejas kodu

libamcodec: needs dynamic library

libamcodec uses <dlfcn.h>, so it requires dynamic library support.

Fixes:

  http://autobuild.buildroot.net/results/b7653c299a60a67b360c98d59d6707ab468ce6f1/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni 9 gadi atpakaļ
vecāks
revīzija
a80f0efa9c
1 mainītis faili ar 3 papildinājumiem un 2 dzēšanām
  1. 3 2
      package/libamcodec/Config.in

+ 3 - 2
package/libamcodec/Config.in

@@ -1,11 +1,12 @@
-comment "libamcodec needs a toolchain w/ threads"
+comment "libamcodec needs a toolchain w/ threads, dynamic library"
 	depends on BR2_arm || BR2_aarch64
-	depends on !BR2_TOOLCHAIN_HAS_THREADS
+	depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
 
 config BR2_PACKAGE_LIBAMCODEC
 	bool "libamcodec"
 	depends on BR2_arm || BR2_aarch64
 	depends on BR2_TOOLCHAIN_HAS_THREADS # alsa-lib
+	depends on !BR2_STATIC_LIBS # dlfcn.h
 	select BR2_PACKAGE_ALSA_LIB
 	help
 	    Interface library for Amlogic media codecs