mongrel2: Needs a {e, }glibc or a uClibc-0.9.34-git based toolchain
authorMarkos Chandras <markos.chandras@imgtec.com>
Thu, 23 May 2013 06:28:01 +0000 (06:28 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Thu, 23 May 2013 20:27:53 +0000 (22:27 +0200)
mongrel2 needs the {get,make,swap}context functions which are
present in {e,}glibc and in the uClibc's master branch.

Fixes:
http://autobuild.buildroot.net/results/8e132a2b03a7b5ae94199db7db86883c05dca700/build-end.log

Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/mongrel2/Config.in

index 05d10d749236d699bcb1708559f53ae7fc3f9186..034dbf98a464c38f53be9d899a1ae63c997d5cac 100644 (file)
@@ -6,6 +6,12 @@ config BR2_PACKAGE_MONGREL2
        depends on BR2_INET_IPV6 # zeromq
        depends on BR2_LARGEFILE # zeromq -> util-linux
        depends on BR2_USE_WCHAR # zeromq -> util-linux
+       # {get,make,swap}context functions present in
+       # {e,}glibc and in uClibc's master branch.
+       depends on BR2_UCLIBC_VERSION_SNAPSHOT || \
+               BR2_TOOLCHAIN_EXTERNAL_GLIBC || \
+               BR2_TOOLCHAIN_CTNG_eglibc || \
+               BR2_TOOLCHAIN_CTNG_glibc
        help
          Mongrel2 is an application, language, and network architecture
          agnostic web server that focuses on web applications using