diff mbox series

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

Message ID 20180417182208.8404-1-romain.naour@gmail.com
State Accepted
Headers show
Series package/wmctrl: x-includes and x-libraries must be set for cross-compiling | expand

Commit Message

Romain Naour April 17, 2018, 6:22 p.m. UTC
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>
---
 package/wmctrl/wmctrl.mk | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Thomas Petazzoni April 18, 2018, 9:50 a.m. UTC | #1
Hello,

On Tue, 17 Apr 2018 20:22:08 +0200, Romain Naour wrote:
> 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>
> ---
>  package/wmctrl/wmctrl.mk | 4 ++++
>  1 file changed, 4 insertions(+)

Applied to master, thanks.

Thomas
Peter Korsgaard May 1, 2018, 6:53 a.m. UTC | #2
>>>>> "Romain" == Romain Naour <romain.naour@gmail.com> writes:

 > 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>

Committed to 2018.02.x, thanks.
diff mbox series

Patch

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))