Skip to content

Commit 0a10b78

Browse files
bootstrap::xcb_proto: fix xcb-gen python module install
Signed-off-by: Andy-Python-Programmer <[email protected]>
1 parent 3d16f85 commit 0a10b78

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

bootstrap/xorg.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ packages:
149149
NOCONFIGURE: 'yes'
150150
tools_required:
151151
- host-gcc
152+
- host-python
152153
pkgs_required:
153154
- mlibc
154155
- xorg-util-macros
@@ -162,12 +163,13 @@ packages:
162163
- '--prefix=/usr'
163164
- '--sysconfdir=/etc'
164165
- '--localstatedir=/var'
166+
environ:
167+
PYTHON: '@BUILD_ROOT@/tools/host-python/bin/python3.8'
165168
build:
166169
- args: ['make', '-j@PARALLELISM@']
167170
- args: ['make', 'install-strip']
168171
environ:
169172
DESTDIR: '@THIS_COLLECT_DIR@'
170-
- args: ['sed', '-i', 's|${pc_sysrootdir}${PYTHON_PREFIX}|/usr|g', '@THIS_COLLECT_DIR@/usr/lib/pkgconfig/xcb-proto.pc']
171173

172174
# `libxdmcp` is X Display Manager Control Protocol library.
173175
- name: libxdmcp
@@ -298,6 +300,7 @@ packages:
298300
- host-autoconf-v2.69
299301
- host-automake-v1.16
300302
- host-pkg-config
303+
- host-python
301304
pkgs_required:
302305
- mlibc
303306
- xorg-util-macros
@@ -316,6 +319,8 @@ packages:
316319
- '--disable-static'
317320
- '--without-doxygen'
318321
- '--with-sysroot=@SYSROOT_DIR@' # Set libtool's lt_sysroot.
322+
environ:
323+
PYTHON: '@BUILD_ROOT@/tools/host-python/bin/python3.8'
319324
build:
320325
- args: ['make', '-j@PARALLELISM@']
321326
- args: ['make', 'install-strip']

0 commit comments

Comments
 (0)