config BR2_PACKAGE_LIBODB_PGSQL
	bool "libodb-pgsql"
	depends on BR2_TOOLCHAIN_HAS_THREADS
	depends on BR2_INSTALL_LIBSTDCPP
	depends on BR2_PACKAGE_POSTGRESQL
	select BR2_PACKAGE_LIBODB
	help
	  This package contains the PostgreSQL ODB runtime library.
	  Every application that includes code generated for the
	  PostgreSQL database will need to link to this library.

	  https://www.codesynthesis.com/products/odb/

comment "libodb-pgsql needs a toolchain w/ C++, threads"
	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
	depends on BR2_PACKAGE_POSTGRESQL
