diff --git a/includes-ros2/urdfdom/urdfdom-2.1.0.inc b/includes-ros2/urdfdom/urdfdom-2.1.0.inc new file mode 100644 index 0000000..6020ba3 --- /dev/null +++ b/includes-ros2/urdfdom/urdfdom-2.1.0.inc @@ -0,0 +1,12 @@ +# Copyright (c) 2019 LG Electronics, Inc. + +# Fixes this: +# | fatal error: stdlib.h: No such file or directory +# | #include_next +do_configure_append() { + if [ -e ${B}/build.ninja ]; then + sed -i -e 's/-isystem /-I/g' ${B}/build.ninja + else + grep -rl -- '-isystem ' ${B} | xargs sed -i -e 's/-isystem /-I/g' + fi +}