blob: 7c49583e0dc53e3ca0a6f94b9221215b531386a4 [file] [log] [blame]
Patrick Williams39653562024-03-01 08:54:02 -06001From f65efd963e52de51d35e2e03fb773f33dd64f565 Mon Sep 17 00:00:00 2001
2From: Richard Purdie <richard.purdie@linuxfoundation.org>
3Date: Tue, 20 Feb 2024 12:19:06 +0000
Brad Bishop00e122a2019-10-05 11:10:57 -04004Subject: [PATCH] python-lttngust/Makefile.am: Add --install-lib to setup.py
5
6Otherwise it may install to /usr/lib, but should be /usr/lib64 when cross
7building.
8
9Upstream-Status: Submitted [https://github.com/lttng/lttng-ust/pull/59]
10
11Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Andrew Geissler5199d832021-09-24 16:47:35 -050012
Brad Bishop00e122a2019-10-05 11:10:57 -040013---
Andrew Geissler5199d832021-09-24 16:47:35 -050014 src/python-lttngust/Makefile.am | 2 +-
Brad Bishop00e122a2019-10-05 11:10:57 -040015 1 file changed, 1 insertion(+), 1 deletion(-)
16
Andrew Geissler5199d832021-09-24 16:47:35 -050017diff --git a/src/python-lttngust/Makefile.am b/src/python-lttngust/Makefile.am
Patrick Williams39653562024-03-01 08:54:02 -060018index d53e21d..283901e 100644
Andrew Geissler5199d832021-09-24 16:47:35 -050019--- a/src/python-lttngust/Makefile.am
20+++ b/src/python-lttngust/Makefile.am
Patrick Williams39653562024-03-01 08:54:02 -060021@@ -45,7 +45,7 @@ install-exec-local: build-python-bindings.stamp
Brad Bishop00e122a2019-10-05 11:10:57 -040022 if [ "$(DESTDIR)" != "" ]; then \
23 opts="$$opts --root=$(DESTDIR)"; \
24 fi; \
Patrick Williams39653562024-03-01 08:54:02 -060025- $(PYTHON) $(builddir)/setup.py install $(PY_INSTALL_OPTS) $$opts;
26+ $(PYTHON) $(builddir)/setup.py install $(PY_INSTALL_OPTS) $$opts --install-lib=$(pythondir);
Brad Bishop00e122a2019-10-05 11:10:57 -040027
28 clean-local:
29 rm -rf $(builddir)/build