1From dd1fdc841d069dbd4e284f430a88af79de951124 Mon Sep 17 00:00:00 2001 2From: 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> 12 13--- 14 src/python-lttngust/Makefile.am | 2 +- 15 1 file changed, 1 insertion(+), 1 deletion(-) 16 17diff --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 22 if [ "$(DESTDIR)" != "" ]; then \ 23 opts="$$opts --root=$(DESTDIR)"; \ 24 fi; \ 25- $(PYTHON) $(builddir)/setup.py install $$opts; 26+ $(PYTHON) $(builddir)/setup.py install $$opts --install-lib=$(pythondir); 27 28 clean-local: 29 rm -rf $(builddir)/build 30