mirror of
https://gitlab.freedesktop.org/xorg/lib/libxcb-errors.git
synced 2026-04-22 05:50:46 +02:00
read-only mirror of https://gitlab.freedesktop.org/xorg/lib/libxcb-errors
It all started with src/extensions.c being distributed. Thanks to this, tarballs shipped with this generated file and actually building this file was skipped. Fix this by using the nodist_ variant of the SOURCES variable. Due to this oversight (sorry!), the out-of-tree build wasn't actually tested. The rule that generates src/extensions.c was missing $(srcdir) in front of the path to extensions.py. This rule is now fixed and, as suggested by Daphne Pfister, also changed to explicitly call the python interpreter. Configure is changed to look for it. Finally, extensions.c couldn't include errors.h. This worked before, because the C compiler automatically looks for headers in the same directory as the source file. However, for out-of-tree builds, the source directory and build directory are different. Paper over this problem by explicitly making it look in the right directory. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=90328 Signed-off-by: Uli Schlachter <psychon@znc.in> |
||
|---|---|---|
| m4@f662e3a93e | ||
| src | ||
| tests | ||
| .gitignore | ||
| .gitmodules | ||
| autogen.sh | ||
| configure.ac | ||
| COPYING | ||
| KNOWN_ISSUES | ||
| Makefile.am | ||
| NEWS | ||
| xcb-errors.pc.in | ||