config BR2_PACKAGE_PERL_DBD_MYSQL
	bool "perl-dbd-mysql"
	depends on !BR2_STATIC_LIBS
	depends on BR2_INSTALL_LIBSTDCPP # mariadb
	depends on BR2_USE_MMU # mariadb
	depends on BR2_TOOLCHAIN_HAS_THREADS # mariadb
	depends on BR2_TOOLCHAIN_HAS_ATOMIC || BR2_TOOLCHAIN_HAS_SYNC_8 # mariadb
	depends on BR2_USE_WCHAR # mariadb
	select BR2_PACKAGE_MARIADB
	select BR2_PACKAGE_PERL_DBI # runtime
	help
	  A MySQL driver for the Perl5 Database Interface (DBI).

	  http://dbi.perl.org/

comment "perl-dbd-mysql needs a toolchain w/ dynamic library, wchar, C++, threads"
	depends on BR2_USE_MMU
	depends on BR2_TOOLCHAIN_HAS_ATOMIC || BR2_TOOLCHAIN_HAS_SYNC_8
	depends on BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP || \
		!BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR
