Ver Fonte

apr: requires shared library support

The apr library requires shared library support unconditionally, so
make it depend on !BR2_PREFER_STATIC_LIB, so that architectures that
support static libraries only do not make this package available.

Solves
http://autobuild.buildroot.org/results/f4cd9751e85e9ee7fde2e9479e0f01ab2be93e84/build-end.log.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Thomas Petazzoni há 13 anos atrás
pai
commit
02b00dc9df
2 ficheiros alterados com 4 adições e 0 exclusões
  1. 2 0
      package/apr-util/Config.in
  2. 2 0
      package/apr/Config.in

+ 2 - 0
package/apr-util/Config.in

@@ -5,6 +5,8 @@ config BR2_PACKAGE_APR_UTIL
 	select BR2_PACKAGE_NEON
 	select BR2_PACKAGE_NEON
 	select BR2_PACKAGE_NEON_ZLIB
 	select BR2_PACKAGE_NEON_ZLIB
 	select BR2_PACKAGE_ZLIB
 	select BR2_PACKAGE_ZLIB
+	# apr really needs shared library support
+	depends on !BR2_PREFER_STATIC_LIB
 	help
 	help
 	  The utility library for the apache runtime project
 	  The utility library for the apache runtime project
 
 

+ 2 - 0
package/apr/Config.in

@@ -1,5 +1,7 @@
 config BR2_PACKAGE_APR
 config BR2_PACKAGE_APR
 	bool "apr"
 	bool "apr"
+	# apr really needs shared library support
+	depends on !BR2_PREFER_STATIC_LIB
 	help
 	help
 	  The mission of the Apache Portable Runtime (APR) project is to create
 	  The mission of the Apache Portable Runtime (APR) project is to create
 	  and maintain software libraries that provide a predictable and
 	  and maintain software libraries that provide a predictable and