From 5778eeac4ed9f124038b93a22917111428ee0ce2 Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Wed, 22 Mar 2023 17:57:09 -0400 Subject: [PATCH] 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 Reviewed-on: https://review.lttng.org/c/babeltrace/+/9882 CI-Build: Simon Marchi --- src/bindings/python/bt2/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bindings/python/bt2/Makefile.am b/src/bindings/python/bt2/Makefile.am index 6dc518d2..0e9b9a3f 100644 --- a/src/bindings/python/bt2/Makefile.am +++ b/src/bindings/python/bt2/Makefile.am @@ -150,7 +150,7 @@ $(builddir)/bt2/native_bt.c: $(SWIG_INTERFACE_FILES) -include bt2/native_bt.d install-exec-local: build-python-bindings.stamp - @opts="--prefix=$(prefix) --record $(INSTALLED_FILES) --verbose --no-compile $(DISTSETUPOPTS)"; \ + @opts="--prefix=$(prefix) --exec-prefix=$(exec_prefix) --record $(INSTALLED_FILES) --verbose --no-compile $(DISTSETUPOPTS)"; \ if [ "$(DESTDIR)" != "" ]; then \ opts="$$opts --root=$(DESTDIR)"; \ fi; \ -- 2.34.1