From e7f084327335b569dd176d840809f545431e0dd2 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine <fontaine.fabrice@gmail.com> Date: Wed, 22 Sep 2021 23:46:27 +0200 Subject: [PATCH] package/liblinear: fix shared library install Fix the following build failure raised since bump to version 2.43 in commit bdd05a2b1323b4bdfbcaf559e0567a7d09f4837d: /usr/bin/install: cannot stat '/tmp/instance-0/output-1/build/liblinear-2.43/liblinear.so.3': No such file or directory Fixes: - http://autobuild.buildroot.org/results/97c2a3babe8f9df7cda069858f13e3be2508cf40 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> --- package/liblinear/liblinear.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/liblinear/liblinear.mk b/package/liblinear/liblinear.mk index 3b137ed518..1ad734c756 100644 --- a/package/liblinear/liblinear.mk +++ b/package/liblinear/liblinear.mk @@ -14,8 +14,8 @@ LIBLINEAR_CFLAGS = $(TARGET_CFLAGS) ifeq ($(BR2_SHARED_LIBS)$(BR2_SHARED_STATIC_LIBS),y) # $1: destination directory define LIBLINEAR_INSTALL_SHARED - $(INSTALL) -m 0644 -D $(@D)/liblinear.so.3 $(1)/usr/lib/liblinear.so.3 - ln -sf liblinear.so.3 $(1)/usr/lib/liblinear.so + $(INSTALL) -m 0644 -D $(@D)/liblinear.so.4 $(1)/usr/lib/liblinear.so.4 + ln -sf liblinear.so.4 $(1)/usr/lib/liblinear.so endef LIBLINEAR_CFLAGS += -fPIC endif