aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pkg/debian/rules.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/pkg/debian/rules.in b/src/pkg/debian/rules.in
index 1958497f5ed..dddba992572 100644
--- a/src/pkg/debian/rules.in
+++ b/src/pkg/debian/rules.in
@@ -12,6 +12,7 @@ export PYBUILD_DIR = @CMAKE_SOURCE_DIR@/vpp-api/python
export PYBUILD_DESTDIR_python3=debian/python3-vpp-api/
export PYBUILD_DISABLE_python3=test
export PYBUILD_SYSTEM=distutils
+export INSTALL_DIR=/opt/vpp/external/$(shell uname -m)/
DH_WITH = systemd,python3
build3vers := $(shell py3versions -sv)
@@ -41,3 +42,6 @@ override_dh_install:
@CMAKE_SOURCE_DIR@/scripts/remove-rpath debian/$$c ; \
fi ; \
done
+
+override_dh_shlibdeps:
+ dh_shlibdeps -l$(INSTALL_DIR)lib/:$(INSTALL_DIR)lib64