2017-05-29 12:50 GMT+02:00 Alexander Kanavin <alexander.kana...@linux.intel.com>: > On 05/26/2017 11:35 PM, Max Krummenacher wrote: >> >> +- # check if rpm contains a bundled berkeley db >> +- CHECK_INCLUDE_FILE(rpm/db.h HAVE_RPM_DB_H) >> ++ set(HAVE_RPM_DB_H 0) > > > Have you looked into what CHECK_INCLUDE_FILE does, and whether it can be > fixed? I'd like to hear about your findings.
Yes, I did. I creates a c file and tries to compile it with the CFLAGS specified in CMaketext. <<<<<<<< #include "rpm/db.h" int main () { return 0; } >>>>>>>> As we're talking about libsolv-native here it uses the build host's gcc which has the standard include directory /usr/include and thus finds a /usr/include/rpm/db.h And again, I do not think that it is an error to find/use headers from the build host's /usr/include for a *-native build. Max -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core