From: Titouan Christophe <titouanchristophe@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/2] package/x11r7/libxcb: Use host-python3 instead of host-python(2)
Date: Sun, 24 Jan 2021 11:57:36 +0100 [thread overview]
Message-ID: <20210124105736.33533-3-titouanchristophe@gmail.com> (raw)
In-Reply-To: <20210124105736.33533-1-titouanchristophe@gmail.com>
Signed-off-by: Titouan Christophe <titouanchristophe@gmail.com>
---
package/x11r7/libxcb/libxcb.mk | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/package/x11r7/libxcb/libxcb.mk b/package/x11r7/libxcb/libxcb.mk
index fb691c2422..fc209a2a1a 100644
--- a/package/x11r7/libxcb/libxcb.mk
+++ b/package/x11r7/libxcb/libxcb.mk
@@ -14,17 +14,17 @@ LIBXCB_INSTALL_STAGING = YES
LIBXCB_DEPENDENCIES = \
host-libxslt xcb-proto xlib_libXdmcp xlib_libXau \
- host-xcb-proto host-python host-pkgconf
+ host-xcb-proto host-python3 host-pkgconf
HOST_LIBXCB_DEPENDENCIES = \
host-libxslt host-xcb-proto host-xlib_libXdmcp \
- host-xlib_libXau host-python host-pkgconf
+ host-xlib_libXau host-python3 host-pkgconf
LIBXCB_CONF_OPTS = --with-doxygen=no
HOST_LIBXCB_CONF_OPTS = --with-doxygen=no
-# libxcb is not python3 friendly, so force the python interpreter
-HOST_LIBXCB_CONF_OPTS += ac_cv_path_PYTHON=$(HOST_DIR)/bin/python2
-LIBXCB_CONF_OPTS += ac_cv_path_PYTHON=$(HOST_DIR)/bin/python2
+# Force detection of Buildroot host-python3 over system python
+HOST_LIBXCB_CONF_OPTS += ac_cv_path_PYTHON=$(HOST_DIR)/bin/python3
+LIBXCB_CONF_OPTS += ac_cv_path_PYTHON=$(HOST_DIR)/bin/python3
$(eval $(autotools-package))
$(eval $(host-autotools-package))
--
2.25.3
next prev parent reply other threads:[~2021-01-24 10:57 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-24 10:57 [Buildroot] [PATCH 0/2] package/x11r7/{libxcb, xcb-proto}: use host-python3 Titouan Christophe
2021-01-24 10:57 ` [Buildroot] [PATCH 1/2] package/x11r7/xcb-proto: use host-python3 instead of host-python(2) Titouan Christophe
2021-01-24 10:57 ` Titouan Christophe [this message]
2021-01-24 16:09 ` [Buildroot] [PATCH 0/2] package/x11r7/{libxcb, xcb-proto}: use host-python3 Yann E. MORIN
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=20210124105736.33533-3-titouanchristophe@gmail.com \
--to=titouanchristophe@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.