summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <smcv@collabora.com>2021-09-14 16:02:09 +0100
committerSimon McVittie <smcv@collabora.com>2021-09-15 19:18:14 +0100
commit41943380a4e24d36cfccb3df584db5cb58f7b468 (patch)
tree2ea80b3d69d05f330b2e551b3f709a601b4dd647
parent7829640b1390a5150d6a6ad91e2eea37040e9213 (diff)
downloaddbus-python-41943380a4e24d36cfccb3df584db5cb58f7b468.tar.gz
build: Make distcheck use our ${prefix} with Automake 1.16.4
Automake 1.16.4 changes the default behaviour for Python so that --prefix is no longer respected. Force it to behave as earlier versions did, so we can still distcheck. Signed-off-by: Simon McVittie <smcv@collabora.com>
-rw-r--r--Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 77c65ca..4329772 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -4,7 +4,7 @@ installed_testdir = ${libexecdir}/installed-tests/${PACKAGE_TARNAME}
installed_test_testdir = ${installed_testdir}/test
installed_test_metadir = ${datadir}/installed-tests/${PACKAGE_TARNAME}
-AM_DISTCHECK_CONFIGURE_FLAGS = PYTHON=$(PYTHON)
+AM_DISTCHECK_CONFIGURE_FLAGS = PYTHON=$(PYTHON) --with-python-prefix='$${prefix}' --with-python-exec-prefix='$${exec_prefix}'
ACLOCAL_AMFLAGS = -I m4
SUBDIRS = dbus-gmain .