diff options
Diffstat (limited to 'meta-oe/recipes-security/nmap/nmap-7.92/0001-redefine-the-python-library-install-dir.patch')
-rw-r--r-- | meta-oe/recipes-security/nmap/nmap-7.92/0001-redefine-the-python-library-install-dir.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/meta-oe/recipes-security/nmap/nmap-7.92/0001-redefine-the-python-library-install-dir.patch b/meta-oe/recipes-security/nmap/nmap-7.92/0001-redefine-the-python-library-install-dir.patch new file mode 100644 index 0000000000..6298f7ea26 --- /dev/null +++ b/meta-oe/recipes-security/nmap/nmap-7.92/0001-redefine-the-python-library-install-dir.patch | |||
@@ -0,0 +1,31 @@ | |||
1 | From 67b4614ea529460dca9326bfe5d355bad6f9bdee Mon Sep 17 00:00:00 2001 | ||
2 | From: Roy Li <rongqing.li@windriver.com> | ||
3 | Date: Sun, 27 Apr 2025 16:33:08 +0800 | ||
4 | Subject: [PATCH] redefine the python library install dir | ||
5 | |||
6 | If install-lib is not defined, it is always /usr/lib/, but it | ||
7 | maybe /usr/lib64 for multilib | ||
8 | |||
9 | Upstream-Status: Pending | ||
10 | |||
11 | Signed-off-by: Roy Li <rongqing.li@windriver.com> | ||
12 | --- | ||
13 | Makefile.in | 2 +- | ||
14 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
15 | |||
16 | diff --git a/Makefile.in b/Makefile.in | ||
17 | index ccfceda..6b25d27 100644 | ||
18 | --- a/Makefile.in | ||
19 | +++ b/Makefile.in | ||
20 | @@ -387,7 +387,7 @@ build-nping: $(NPINGDIR)/Makefile build-nbase build-nsock build-netutil $(NPINGD | ||
21 | @cd $(NPINGDIR) && $(MAKE) | ||
22 | |||
23 | install-ndiff: | ||
24 | - cd $(NDIFFDIR) && $(PYTHON) setup.py install --prefix "$(prefix)" $(if $(DESTDIR),--root "$(DESTDIR)") | ||
25 | + cd $(NDIFFDIR) && $(PYTHON) setup.py install --prefix "$(prefix)" --install-lib="${PYTHON_SITEPACKAGES_DIR}" $(if $(DESTDIR),--root "$(DESTDIR)") | ||
26 | |||
27 | NSE_FILES = scripts/script.db scripts/*.nse | ||
28 | NSE_LIB_LUA_FILES = nselib/*.lua nselib/*.luadoc | ||
29 | -- | ||
30 | 2.34.1 | ||
31 | |||