diff mbox

apr: requires shared library support

Message ID 1337282805-8551-1-git-send-email-thomas.petazzoni@free-electrons.com
State Accepted
Commit 02b00dc9dfb7216145277a303c7c2f52004f85b2
Headers show

Commit Message

Thomas Petazzoni May 17, 2012, 7:26 p.m. UTC
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>
---
 package/apr-util/Config.in |    2 ++
 package/apr/Config.in      |    2 ++
 2 files changed, 4 insertions(+)

Comments

Peter Korsgaard May 17, 2012, 9:42 p.m. UTC | #1
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

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

Committed, thanks.
diff mbox

Patch

diff --git a/package/apr-util/Config.in b/package/apr-util/Config.in
index 99b32f2..895dbb8 100644
--- a/package/apr-util/Config.in
+++ b/package/apr-util/Config.in
@@ -5,6 +5,8 @@  config BR2_PACKAGE_APR_UTIL
 	select BR2_PACKAGE_NEON
 	select BR2_PACKAGE_NEON_ZLIB
 	select BR2_PACKAGE_ZLIB
+	# apr really needs shared library support
+	depends on !BR2_PREFER_STATIC_LIB
 	help
 	  The utility library for the apache runtime project
 
diff --git a/package/apr/Config.in b/package/apr/Config.in
index 292cadb..ed319ed 100644
--- a/package/apr/Config.in
+++ b/package/apr/Config.in
@@ -1,5 +1,7 @@ 
 config BR2_PACKAGE_APR
 	bool "apr"
+	# apr really needs shared library support
+	depends on !BR2_PREFER_STATIC_LIB
 	help
 	  The mission of the Apache Portable Runtime (APR) project is to create
 	  and maintain software libraries that provide a predictable and