package/x11r7/xcb-proto: use host-python3 instead of host-python(2)
authorTitouan Christophe <titouanchristophe@gmail.com>
Sun, 24 Jan 2021 10:57:35 +0000 (11:57 +0100)
committerYann E. MORIN <yann.morin.1998@free.fr>
Sun, 24 Jan 2021 16:07:30 +0000 (17:07 +0100)
Signed-off-by: Titouan Christophe <titouanchristophe@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/x11r7/xcb-proto/xcb-proto.mk

index 8bfe24f84880de9fb1b81cf47c1867bf2cb4390f..64190c817fbcf5e37056d9070d1cfe811c97e21b 100644 (file)
@@ -12,8 +12,12 @@ XCB_PROTO_LICENSE_FILES = COPYING
 
 XCB_PROTO_INSTALL_STAGING = YES
 
-XCB_PROTO_DEPENDENCIES = host-python
-HOST_XCB_PROTO_DEPENDENCIES = host-python
+XCB_PROTO_DEPENDENCIES = host-python3
+HOST_XCB_PROTO_DEPENDENCIES = host-python3
+
+# Force detection of Buildroot host-python3 over system python
+XCB_PROTO_CONF_OPTS += ac_cv_path_PYTHON=$(HOST_DIR)/bin/python3
+HOST_XCB_PROTO_CONF_OPTS += ac_cv_path_PYTHON=$(HOST_DIR)/bin/python3
 
 $(eval $(autotools-package))
 $(eval $(host-autotools-package))