package/wmctrl: x-includes and x-libraries must be set for cross-compiling

set x-includes and x-libraries configure option for cross-compiling.
wmctrl can use poisoned paths if these options are not passed to
configure script.

Fixes:
http://autobuild.buildroot.net/results/7e5/7e5cba8a5650a00e10d1a5528f38cb2bf772aee1

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Jérôme Pouiller <jezz@sysmic.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2018.05.x
Romain Naour 2018-04-17 20:22:08 +02:00 committed by Thomas Petazzoni
parent 27043c7a25
commit 046c5e2563
1 changed files with 4 additions and 0 deletions

View File

@ -11,4 +11,8 @@ WMCTRL_LICENSE_FILES = COPYING
WMCTRL_DEPENDENCIES = libglib2 xlib_libX11 xlib_libXmu
WMCTRL_CONF_OPTS = \
--x-includes=$(STAGING_DIR)/usr/include \
--x-libraries=$(STAGING_DIR)/usr/lib
$(eval $(autotools-package))