Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [git commit] package/wmctrl: x-includes and x-libraries must be set for cross-compiling
Date: Fri, 20 Apr 2018 16:00:32 +0200	[thread overview]
Message-ID: <20180420160032.7f74e16e@windsurf.numericable.fr> (raw)
In-Reply-To: <20180418094654.8BA0288272@busybox.osuosl.org>

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

  reply	other threads:[~2018-04-20 14:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2018-04-24 19:29   ` Peter Korsgaard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180420160032.7f74e16e@windsurf.numericable.fr \
    --to=thomas.petazzoni@bootlin.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox