From: Michael Jeanson Date: Wed, 22 Mar 2023 21:57:09 +0000 (-0400) Subject: fix: pass exec-prefix to python bindings install X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=commitdiff_plain;h=329ddee9d7299a2e8c4037642047482c1eb26456 fix: pass exec-prefix to python bindings install Some systems will split the arch independent files from the arch specific using a different value for 'prefix' and 'exec-prefix'. Pass this information from the Makefile to the python build system. Change-Id: I2f26ba1d8c8252e5a1c49fb54733e02ae336f157 Signed-off-by: Michael Jeanson Reviewed-on: https://review.lttng.org/c/babeltrace/+/9695 Tested-by: jenkins Reviewed-by: Philippe Proulx --- diff --git a/src/bindings/python/bt2/Makefile.am b/src/bindings/python/bt2/Makefile.am index 124fadaf..6b31a743 100644 --- a/src/bindings/python/bt2/Makefile.am +++ b/src/bindings/python/bt2/Makefile.am @@ -156,7 +156,7 @@ pyinstall_verbose_ = $(pyinstall_verbose_@AM_DEFAULT_V@) pyinstall_verbose_0 = @ install-exec-local: build-python-bindings.stamp - $(pyinstall_verbose)opts="--prefix=$(prefix) --record $(INSTALLED_FILES) --verbose --no-compile $(DISTSETUPOPTS)"; \ + $(pyinstall_verbose)opts="--prefix=$(prefix) --exec-prefix=$(exec_prefix) --record $(INSTALLED_FILES) --verbose --no-compile $(DISTSETUPOPTS)"; \ if [ "$(DESTDIR)" != "" ]; then \ opts="$$opts --root=$(DESTDIR)"; \ fi; \