summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorNick Wellnhofer <wellnhofer@aevum.de>2022-09-06 00:47:00 +0200
committerNick Wellnhofer <wellnhofer@aevum.de>2022-09-06 01:07:24 +0200
commitea8f7c92a9e3f7d89e57b0a1eae0229555da7356 (patch)
treee674410ef4b16bc15ddb1d9a2c50dfe6de7d9bf5 /python
parent9d19c169bb8564774a165da858ad675d9699cce2 (diff)
downloadlibxml2-ea8f7c92a9e3f7d89e57b0a1eae0229555da7356.tar.gz
autotools: Disable parallel Python build
Makefile rules with multiple output files don't work reliably with parallel builds. There are several ways to fix this issue with GNU Make, but they aren't portable. I'd be really interested in a totally reliable, cross-platform solution to this problem. .NOTPARALLEL is also understood by BSD make, at least.
Diffstat (limited to 'python')
-rw-r--r--python/Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/python/Makefile.am b/python/Makefile.am
index 778270df..07024346 100644
--- a/python/Makefile.am
+++ b/python/Makefile.am
@@ -1,5 +1,9 @@
# Makefile for libxml2 python library
+# We use a rule with multiple output files which creates problems with
+# parallel builds.
+.NOTPARALLEL:
+
SUBDIRS = . tests
docsdir = $(docdir)/python