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
ef979e22cc
commit
957c576e15
|
@ -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