DRAFT urdfdom-2.1.0.inc: Fix compile error (#include_next <stdlib.h>)
Version-specific because might be fixed in a new version.
This commit is contained in:
parent
33d710610e
commit
448b11306d
|
@ -0,0 +1,12 @@
|
|||
# Copyright (c) 2019 LG Electronics, Inc.
|
||||
|
||||
# Fixes this:
|
||||
# | fatal error: stdlib.h: No such file or directory
|
||||
# | #include_next <stdlib.h>
|
||||
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
|
||||
}
|
Loading…
Reference in New Issue