[Buildroot] [PATCH] bluez_utils: broken for static builds

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Tue Dec 3 19:05:22 UTC 2013


Dear Vicente Olivert Riera,

On Tue, 3 Dec 2013 17:50:39 +0000, Vicente Olivert Riera wrote:
> The bluez_utils package requires shared library support
> unconditionally. We can't fix it to make it build on static because,
> for instance, "plugin.c" file uses dlfcn and it's a basic prereq for
> bluetoothd, so add "depend on !BR2_PREFER_STATIC_LIB" to it and
> recursively to all packages that selects BR2_PACKAGE_BLUEZ_UTILS.
> 
> Fixes:
> 
>    http://autobuild.buildroot.net/results/d81/d81970024649c1e89c01da491c63760afdad6cb6/
> 
> Signed-off-by: Vicente Olivert Riera <Vincent.Riera at imgtec.com>

Looks good, but please read
http://buildroot.org/downloads/manual/manual.html#dependencies-target-toolchain-options,
which tells you that when a package depends on dynamic library support,
a corresponding comment should be added to inform the user of why the
package is not available.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


More information about the buildroot mailing list