aboutsummaryrefslogtreecommitdiffstats
path: root/src/vpp-api
diff options
context:
space:
mode:
Diffstat (limited to 'src/vpp-api')
-rw-r--r--src/vpp-api/python/Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vpp-api/python/Makefile.am b/src/vpp-api/python/Makefile.am
index 16c47627157..cd8db4f6c36 100644
--- a/src/vpp-api/python/Makefile.am
+++ b/src/vpp-api/python/Makefile.am
@@ -41,7 +41,8 @@ libpneum_la_CPPFLAGS =
# TODO: Support both Python 2 and 3.
install-exec-local:
cd $(srcdir); \
- mkdir -p $(prefix)/lib/python2.7/site-packages; \
+ mkdir -p $(pythondir); \
+ mkdir -p $(pyexecdir); \
PYTHONUSERBASE=$(prefix) \
python setup.py build_ext -L $(libdir) \
-I $(prefix)/include/ install --user