Files
meta-openembedded/meta-oe/recipes-graphics/xdotool
Martin Jansa ad9c16bb7b xdotool: prevent compile-host-path QA issues
* as shown in the log.do_compile:
  cc1: warning: include location "/usr/local/include" is unsafe for cross-compilation [-Wpoison-system-directories]

* it's caused by Makefile doing:

  DEFAULT_LIBS=-L/usr/X11R6/lib -L/usr/local/lib -lX11 -lXtst
  DEFAULT_INC=-I/usr/X11R6/include -I/usr/local/include

  LIBS=$(shell pkg-config --libs x11 xtst 2> /dev/null || echo "$(DEFAULT_LIBS)")
  INC=$(shell pkg-config --cflags x11 xtst 2> /dev/null || echo "$(DEFAULT_INC)")

  which always uses the DEFAULT_* since RSS, because there was no
  pkg-config in the recipe sysroot

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-04-05 19:28:32 +02:00
..