fix: pass exec-prefix to python bindings install
authorMichael Jeanson <mjeanson@efficios.com>
Wed, 22 Mar 2023 21:57:09 +0000 (17:57 -0400)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Thu, 27 Apr 2023 19:34:33 +0000 (15:34 -0400)
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 <mjeanson@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/9695
Tested-by: jenkins <jenkins@lttng.org>
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
src/bindings/python/bt2/Makefile.am

index 124fadaf47d813eb6b25a2bb4f424204f7fae09b..6b31a743391c52eae99f471cf9b3bb509c84fbb4 100644 (file)
@@ -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; \
This page took 0.024239 seconds and 4 git commands to generate.