aboutsummaryrefslogtreecommitdiffstats
path: root/build-data
diff options
context:
space:
mode:
authorNitin Saxena <nsaxena@cavium.com>2017-12-27 10:31:41 +0000
committerDamjan Marion <dmarion.lists@gmail.com>2018-01-08 01:29:34 +0000
commit9cfb11787f24e90ad14697afefbb2dd5969b2951 (patch)
tree3283ac664c62ba037cac6c33df37918d11fdee27 /build-data
parentae66b0d95a7cc4881365c3abdd85ae9144882568 (diff)
Fix Debian Packaging on AARCH64
Error msg: pkg-shlibdeps: error: couldn't find library libvppinfra.so.0 needed by debian/vpp/usr/bin/vpp_json_test (ELF format: 'elf64-littleaarch64'; RPATH: '') dpkg-shlibdeps: error: couldn't find library libvppinfra.so.0 needed by debian/vpp/usr/bin/svmdbtool (ELF format: 'elf64-littleaarch64'; RPATH: '') ... Changes to create architecture specific folder in /usr/lib/ Change-Id: Id0e42b175348e32e2c72b404ff60eb87c9146968 Signed-off-by: Nitin Saxena <nsaxena@cavium.com>
Diffstat (limited to 'build-data')
-rw-r--r--build-data/platforms.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/build-data/platforms.mk b/build-data/platforms.mk
index 7904cc40b5c..196a674d628 100644
--- a/build-data/platforms.mk
+++ b/build-data/platforms.mk
@@ -36,7 +36,7 @@ install-deb: $(patsubst %,%-find-source,$(ROOT_PACKAGES))
find $(INSTALL_PREFIX)$(ARCH)/*/lib* \( -type f -o -type l \) \
-print | egrep -e '*\.so\.*\.*\.*' \
| grep -v plugins\/ \
- | sed -e 's:.*:../& /usr/lib/x86_64-linux-gnu:' \
+ | sed -e 's:.*:../& /usr/lib/$(MACHINE)-linux-gnu:' \
> deb/debian/vpp-lib.install ; \
\
: vnet api definitions ; \