[OE-core] [PATCH] libsolv: don't pick up bundled db from host rpm
Alexander Kanavin
alexander.kanavin at linux.intel.com
Thu May 18 05:37:59 UTC 2017
On 05/17/2017 11:16 PM, Max Krummenacher wrote:
> With rpm v4 in openembedded but on a host with existing /usr/include/rpm/db.h
> the build fails to compile.
> +- # check if rpm contains a bundled berkeley db
> +- CHECK_INCLUDE_FILE(rpm/db.h HAVE_RPM_DB_H)
> ++ set(HAVE_RPM_DB_H 0)
The problem seems to be that CHECK_INCLUDE_FILE is incorrectly looking
for headers in host's /usr/include. Perhaps you could look into why that
is happening and if it can be fixed, rather than fix one specific
instance in libsolv where it is known to cause trouble?
Alex
More information about the Openembedded-core
mailing list