11a4b7ee2SBrad Bishop[PATCH] redefine the python library install dir
21a4b7ee2SBrad Bishop
31a4b7ee2SBrad BishopUpstream-Status: Pending
41a4b7ee2SBrad Bishop
51a4b7ee2SBrad BishopIf install-lib is not defined, it is always /usr/lib/, but it
61a4b7ee2SBrad Bishopmaybe /usr/lib64 for multilib
71a4b7ee2SBrad Bishop
81a4b7ee2SBrad BishopSigned-off-by: Roy Li <rongqing.li@windriver.com>
91a4b7ee2SBrad Bishop---
101a4b7ee2SBrad Bishop Makefile.in | 4 ++--
111a4b7ee2SBrad Bishop 1 file changed, 2 insertions(+), 2 deletions(-)
121a4b7ee2SBrad Bishop
131a4b7ee2SBrad Bishop--- a/Makefile.in
141a4b7ee2SBrad Bishop+++ b/Makefile.in
15*8460358cSPatrick Williams@@ -383,7 +383,7 @@ build-nping: $(NPINGDIR)/Makefile build-
161a4b7ee2SBrad Bishop 	@cd $(NPINGDIR) && $(MAKE)
171a4b7ee2SBrad Bishop
181a4b7ee2SBrad Bishop install-ndiff:
191a4b7ee2SBrad Bishop-	cd $(NDIFFDIR) && $(PYTHON) setup.py install --prefix "$(prefix)" $(if $(DESTDIR),--root "$(DESTDIR)")
201a4b7ee2SBrad Bishop+	cd $(NDIFFDIR) && $(PYTHON) setup.py install --prefix "$(prefix)" --install-lib="${PYTHON_SITEPACKAGES_DIR}" $(if $(DESTDIR),--root "$(DESTDIR)")
211a4b7ee2SBrad Bishop
221a4b7ee2SBrad Bishop NSE_FILES = scripts/script.db scripts/*.nse
231a4b7ee2SBrad Bishop NSE_LIB_LUA_FILES = nselib/*.lua nselib/*.luadoc
24