Skip to contentSkip to conversation

apr: requires shared library support

PATCH New Thomas Petazzoni 2 participants 2 messages May 17, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 package/apr-util/Config.in |    2 ++
 package/apr/Config.in      |    2 ++
 2 files changed, 4 insertions(+)
package/apr-util/Config.in +2 -0
index 99b32f2..895dbb8 100644
@@ -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
 
package/apr/Config.in +2 -0
index 292cadb..ed319ed 100644
@@ -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
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH 1/1 apr: requires shared library support

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Petazzoni <[email protected]> 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.

Signature · 1 line
Bye, Peter Korsgaard