summaryrefslogtreecommitdiffstats
path: root/build-data
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2016-02-03 12:59:38 -0500
committerDave Barach <dave@barachs.net>2016-02-03 12:59:49 -0500
commit1c11311b322ecf0b4bc88949f394922e9940ebb0 (patch)
treebb469e13e4c4908052f069e665910298ce92252a /build-data
parenteeee9e2b1820ae1ca194ba0093d49519b66558f8 (diff)
Need to include symbolic links in the lib package: libXXX.so, libXXX.so.0
Otherwise, autotools can't find libXXX, -lXXX doesn't work, etc. Change-Id: I9c4c43f795ca872475f65bc0e4494674eaa00576 Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'build-data')
-rw-r--r--build-data/platforms.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/build-data/platforms.mk b/build-data/platforms.mk
index 988be14b61d..8a18ec14d5c 100644
--- a/build-data/platforms.mk
+++ b/build-data/platforms.mk
@@ -27,8 +27,10 @@ install-deb: $(patsubst %,%-find-source,$(ROOT_PACKAGES))
find $(INSTALL_PREFIX)$(ARCH)/*/bin -type f -print \
| sed -e 's:.*:../& /usr/bin:' \
> deb/debian/vpp.install ; \
- find $(INSTALL_PREFIX)$(ARCH)/*/lib* -type f -print \
- | egrep -e '*\.so\.*\.*\.*' \
+ \
+ : need symbolic links in the lib pkg ; \
+ find $(INSTALL_PREFIX)$(ARCH)/*/lib* \( -type f -o -type l \) \
+ -print | egrep -e '*\.so\.*\.*\.*' \
| sed -e 's:.*:../& /usr/lib/x86_64-linux-gnu:' \
> deb/debian/vpp-lib.install ; \
\