Skip to content

Commit cf98cb7

Browse files
committed
libX11: ./configure --disable-loadable-xcursor
This should suppress a mismatch leading to an xcb assertion failure.
1 parent 2682452 commit cf98cb7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

cpython-unix/build-libX11.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,11 @@ if [ -n "${CROSS_COMPILING}" ]; then
9999
esac
100100
fi
101101

102+
# Avoid dlopen("libXcursor.so.1") from the OS, which can go horribly wrong. We
103+
# might not need to avoid this if we switch to shipping X11 as shared
104+
# libraries, and ideally if we ship libXcursor ourselves.
105+
EXTRA_FLAGS="${EXTRA_FLAGS} --disable-loadable-xcursor"
106+
102107
# CC_FOR_BUILD is here because configure doesn't look for `clang` when
103108
# cross-compiling. So we force it.
104109
CFLAGS="${EXTRA_TARGET_CFLAGS} -fPIC -I/tools/deps/include" \

0 commit comments

Comments
 (0)