[oe-commits] [meta-openembedded] 30/33: xdotool: prevent compile-host-path QA issues

git at git.openembedded.org git at git.openembedded.org
Wed Apr 5 17:32:55 UTC 2017


This is an automated email from the git hooks/post-receive script.

martin_jansa pushed a commit to branch master
in repository meta-openembedded.

commit ad9c16bb7be00593dd7276f2ea90a19d70c6f2b1
Author: Martin Jansa <Martin.Jansa at gmail.com>
AuthorDate: Mon Apr 3 20:36:37 2017 +0200

    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 at gmail.com>
---
 meta-oe/recipes-graphics/xdotool/xdotool_1.20100416.2809.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-graphics/xdotool/xdotool_1.20100416.2809.bb b/meta-oe/recipes-graphics/xdotool/xdotool_1.20100416.2809.bb
index 474d298..b68e994 100644
--- a/meta-oe/recipes-graphics/xdotool/xdotool_1.20100416.2809.bb
+++ b/meta-oe/recipes-graphics/xdotool/xdotool_1.20100416.2809.bb
@@ -7,7 +7,7 @@ DEPENDS = "virtual/libx11 libxtst"
 
 PR = "r1"
 
-inherit distro_features_check
+inherit distro_features_check pkgconfig
 # depends on virtual/libx11
 REQUIRED_DISTRO_FEATURES = "x11"
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list