On 27 March 2017 at 14:25 Colin Helliwell <colin helliwell ln-systems com> wrote:
...
... but still have subsequent errors which seem to have been due to output directories not having been created e.g. libnm-core, introspection. I can get it to limp a little further by creating the directories in the pre-configure, but not totally. Something perhaps not hooked in right to cater for the build directory being different to the source directory...?
May I contribute the attached patch for building-outside-source-directory? Well, as a starting point, at
least - there may be other build targets which could benefit from a similar mod, but I'm building with my own
(reduced) feature set, so I may not being seeing all of them.
Hopefully it helps though.
(My configure options, for ref:
--disable-ifcfg-rh \
--disable-ifnet \
--disable-ifcfg-suse \
--disable-more-warnings \
--with-iptables=${sbindir}/iptables \
--with-tests \
--with-nmtui=no \
--disable-gtk-doc --disable-gtk-doc-html \
--enable-polkit=disabled --disable-polkit-agent \
--enable-vala=no
Yeah - a lot, I know, but I'm targeting a minimal embedded system. Sorry!)Attachment:
0002-subdirs-for-out-of-source-build.patch
Description: Binary data