buildroot.busybox.net archive mirror
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/liblinear: fix shared library install
@ 2021-09-22 21:46 Fabrice Fontaine
  2021-09-25 14:41 ` Yann E. MORIN
  0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2021-09-22 21:46 UTC (permalink / raw)
  To: buildroot; +Cc: Romain Naour, Fabrice Fontaine

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>
---
 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
-- 
2.33.0

_______________________________________________
buildroot mailing list
buildroot@lists.buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Buildroot] [PATCH 1/1] package/liblinear: fix shared library install
  2021-09-22 21:46 [Buildroot] [PATCH 1/1] package/liblinear: fix shared library install Fabrice Fontaine
@ 2021-09-25 14:41 ` Yann E. MORIN
  0 siblings, 0 replies; 2+ messages in thread
From: Yann E. MORIN @ 2021-09-25 14:41 UTC (permalink / raw)
  To: Fabrice Fontaine; +Cc: Romain Naour, buildroot

Fabrice, All,

On 2021-09-22 23:46 +0200, Fabrice Fontaine spake thusly:
> 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>

Applied to master, thanks.

Regards,
Yann E. MORIN.

> ---
>  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
> -- 
> 2.33.0
> 
> _______________________________________________
> buildroot mailing list
> buildroot@lists.buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-09-25 14:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-22 21:46 [Buildroot] [PATCH 1/1] package/liblinear: fix shared library install Fabrice Fontaine
2021-09-25 14:41 ` Yann E. MORIN

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).