While looking into Ross' feedback about the first version, I realized
that my
sed regex didn't only have superficial problems (namely being an
eyesore, and
likely brittle), but it also only solved a part of the problem - it
allowed to
link to the cross-compiled libs, but code-generation during class-target
compilation from capnproto definitions was still broken.
This patch supposed to remediate this too.
If you think that having a new class is overcomplicating the issue, I
can be easily
convinced about it (but please leave an alternative suggestion also).
There is 1 known caveat however: if someone would want to install the
binaries
from ${bindir} on the target machine, that won't work after this change.
(Can't
really think of any reasons however, why would one do that - this is not
a user-application.)
Let me know if there's anything you'd like to change in this patch.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#115239):
https://lists.openembedded.org/g/openembedded-devel/message/115239
Mute This Topic: https://lists.openembedded.org/mt/110969312/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-