Hi, On Fri, May 27, 2022 at 04:37:40PM +0100, Daniel Squires wrote: > We are indeed using > > inherit cmake > > The CMakeLists.txt adds a few bits to CMAKE_CXX_FLAGS but does not outright > clobber it. I have noticed in other recipes some things like: > > EXTRA_OECONF = " --with-openssl=${STAGING_DIR_HOST}${prefix} \ > " > > And from the docs it seems like this maybe intended to help with this, but I > am not entirely sure. Does that look right? I don't currently have access > to one of the systems where the build is failing but I'll try it out next > week.
To me this looks wrong. If CMake is used and toolchain.cmake variables not overwritten, the sysroot path is set and openssl will be found from default system include directories inside sysroot and nothing like this needs to be added as long as DEPENDS has openssl. I'd debug this under bitbake -c devshell. Cheers, -Mikko
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#57204): https://lists.yoctoproject.org/g/yocto/message/57204 Mute This Topic: https://lists.yoctoproject.org/mt/91378445/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-