DRAFT {crystal} micro-xrce-dds-agent-1.0.3-1.inc: Fix up build.ninja if it exists
Version-specific because might be fixed in a new version.
This commit is contained in:
parent
bca529cc9d
commit
62b1f0220d
|
@ -0,0 +1,12 @@
|
|||
# Copyright (c) 2019 LG Electronics, Inc.
|
||||
|
||||
# This is sooo much easier than figuring out why CMake isn't using TINYXML2_LIBRARY when generating build.ninja
|
||||
do_configure_append() {
|
||||
if [ -e ${B}/build.ninja ]; then
|
||||
sed -i -e 's@ /libtinyxml2.so@ ${STAGING_LIBDIR}/libtinyxml2.so@g' \
|
||||
-e 's@ -ltinyxml2@ ${STAGING_LIBDIR}/libtinyxml2.so@g' \
|
||||
${B}/build.ninja
|
||||
else
|
||||
true
|
||||
fi
|
||||
}
|
Loading…
Reference in New Issue