blob: fd9b6ea7ff88965dbe309ab339deded66090526e [file] [log] [blame]
Andrew Geissler5199d832021-09-24 16:47:35 -05001From dd1fdc841d069dbd4e284f430a88af79de951124 Mon Sep 17 00:00:00 2001
Brad Bishop00e122a2019-10-05 11:10:57 -04002From: Robert Yang <liezhi.yang@windriver.com>
3Date: Thu, 26 Sep 2019 17:54:00 +0800
4Subject: [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
18index f95482d..f76d95b 100644
19--- a/src/python-lttngust/Makefile.am
20+++ b/src/python-lttngust/Makefile.am
21@@ -32,7 +32,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; \
Andrew Geissler5199d832021-09-24 16:47:35 -050025- $(PYTHON) $(builddir)/setup.py install $$opts;
26+ $(PYTHON) $(builddir)/setup.py install $$opts --install-lib=$(pythondir);
Brad Bishop00e122a2019-10-05 11:10:57 -040027
28 clean-local:
29 rm -rf $(builddir)/build