image build and composition scripts for Flatcar Container Linux
Go to file
Krzesimir Nowak a4373a7c1b coreos-base/update_engine: Override path to glib-genmarshal
Normally we use pkg-config to query flags and libraries that are
needed to build things. These are specific to CHOST, and the build
system usually uses pkg-config on CHOST to get those flags and
libraries. But pkg-config is also used to query for the location of
the tools used during the build, and for those we need to use
pkg-config on CBUILD. But the build system is usually using the same
pkg-config for both flags and libs, and for build tools. Which works
fine for typical builds, but breaks for cross builds.

One of such build tools is glib-genmarshal. Fortunately the build
system allows us to override the detection results by passing
GLIB_GENMARSHAL="${some_path}" to the configure script. So do that.
2021-11-15 15:29:26 +01:00
sdk_container/src/third_party/coreos-overlay coreos-base/update_engine: Override path to glib-genmarshal 2021-11-15 15:29:26 +01:00