26 lines
750 B
Diff
26 lines
750 B
Diff
From 55525b06f042488364844b8c3ba6b55df4a0a3d5 Mon Sep 17 00:00:00 2001
|
|
From: zhouyihang <zhouyihang3@h-partners.com>
|
|
Date: Wed, 13 Mar 2024 10:59:34 +0000
|
|
Subject: [PATCH] create standlone module dir
|
|
|
|
---
|
|
py/Makefile.in | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/py/Makefile.in b/py/Makefile.in
|
|
index ebf0962..b30b2ef 100644
|
|
--- a/py/Makefile.in
|
|
+++ b/py/Makefile.in
|
|
@@ -459,7 +459,7 @@ all-local:
|
|
install-exec-local:
|
|
cd $(srcdir) && \
|
|
$(PYTHON_BIN) setup.py build --build-base $(abs_builddir) \
|
|
- install --prefix $(DESTDIR)$(prefix)
|
|
+ install --prefix $(DESTDIR)$(prefix) --root / --single-version-externally-managed
|
|
|
|
uninstall-local:
|
|
rm -rf $(DESTDIR)$(prefix)/lib*/python*/site-packages/nftables
|
|
--
|
|
2.33.0
|
|
|