Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [git commit] package/wmctrl: x-includes and x-libraries must be set for cross-compiling
@ 2018-04-18  9:46 Thomas Petazzoni
  2018-04-20 14:00 ` Thomas Petazzoni
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Petazzoni @ 2018-04-18  9:46 UTC (permalink / raw)
  To: buildroot

commit: https://git.buildroot.net/buildroot/commit/?id=046c5e25634bbf827c43617bf1967ab469418908
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

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>
---
 package/wmctrl/wmctrl.mk | 4 ++++
 1 file changed, 4 insertions(+)

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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [Buildroot] [git commit] package/wmctrl: x-includes and x-libraries must be set for cross-compiling
  2018-04-18  9:46 [Buildroot] [git commit] package/wmctrl: x-includes and x-libraries must be set for cross-compiling Thomas Petazzoni
@ 2018-04-20 14:00 ` Thomas Petazzoni
  2018-04-24 19:29   ` Peter Korsgaard
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Petazzoni @ 2018-04-20 14:00 UTC (permalink / raw)
  To: buildroot

Peter,

This commit should be backported to 2018.02.x to solve:

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

Thanks,

Thomas

On Wed, 18 Apr 2018 11:46:48 +0200, Thomas Petazzoni wrote:
> commit: https://git.buildroot.net/buildroot/commit/?id=046c5e25634bbf827c43617bf1967ab469418908
> branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
> 
> 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>
> ---
>  package/wmctrl/wmctrl.mk | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> 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))



-- 
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] [git commit] package/wmctrl: x-includes and x-libraries must be set for cross-compiling
  2018-04-20 14:00 ` Thomas Petazzoni
@ 2018-04-24 19:29   ` Peter Korsgaard
  0 siblings, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2018-04-24 19:29 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@bootlin.com> writes:

 > Peter,
 > This commit should be backported to 2018.02.x to solve:

 >   http://autobuild.buildroot.net/results/7e5cba8a5650a00e10d1a5528f38cb2bf772aee1/

Ok, noted.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-04-24 19:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-18  9:46 [Buildroot] [git commit] package/wmctrl: x-includes and x-libraries must be set for cross-compiling Thomas Petazzoni
2018-04-20 14:00 ` Thomas Petazzoni
2018-04-24 19:29   ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox