aboutsummaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorGravatar Romain Naour <romain.naour@gmail.com>2018-04-17 20:22:08 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2018-04-30 22:53:31 +0200
commitba7372fcd2b46a1617336bd422490533edd9f14d (patch)
tree0f143d02914dfad18f2481401efa212deb8b548b /package
parentb058d288ef1d0150c368647cc1ada6dfead24f6c (diff)
downloadbuildroot-ba7372fcd2b46a1617336bd422490533edd9f14d.tar.gz
buildroot-ba7372fcd2b46a1617336bd422490533edd9f14d.tar.bz2
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> (cherry picked from commit 046c5e25634bbf827c43617bf1967ab469418908) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package')
-rw-r--r--package/wmctrl/wmctrl.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/wmctrl/wmctrl.mk b/package/wmctrl/wmctrl.mk
index 0d4aeebc1d..36ad3513ff 100644
--- a/package/wmctrl/wmctrl.mk
+++ b/package/wmctrl/wmctrl.mk
@@ -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))