diff --git a/includes-ros2/micro-xrce-dds-agent/micro-xrce-dds-agent-1.0.3-1.inc b/includes-ros2/micro-xrce-dds-agent/micro-xrce-dds-agent-1.0.3-1.inc new file mode 100644 index 0000000..2b2ed2f --- /dev/null +++ b/includes-ros2/micro-xrce-dds-agent/micro-xrce-dds-agent-1.0.3-1.inc @@ -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 +}