apr: requires shared library support
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 17 May 2012 09:26:45 +0000 (09:26 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Thu, 17 May 2012 21:42:26 +0000 (23:42 +0200)
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>
package/apr-util/Config.in
package/apr/Config.in

index 99b32f2b0652195c020a30715f944849f45c6963..895dbb86d5fe93482e20497f6c4e7d3dff7de10e 100644 (file)
@@ -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
 
index 292cadb67cfc0443d5fbb61132ce898fb363abc3..ed319ed05824e731ad0e2d18eeac7ffc1b6f082c 100644 (file)
@@ -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