Need to include symbolic links in the lib package: libXXX.so, libXXX.so.0 08/208/1
authorDave Barach <dave@barachs.net>
Wed, 3 Feb 2016 17:59:38 +0000 (12:59 -0500)
committerDave Barach <dave@barachs.net>
Wed, 3 Feb 2016 17:59:49 +0000 (12:59 -0500)
Otherwise, autotools can't find libXXX, -lXXX doesn't work, etc.

Change-Id: I9c4c43f795ca872475f65bc0e4494674eaa00576
Signed-off-by: Dave Barach <dave@barachs.net>
build-data/platforms.mk

index 988be14..8a18ec1 100644 (file)
@@ -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 ;                              \
                                                                        \