Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] jimtcl: fix broken symlinks
@ 2015-11-23 16:47 Waldemar Brodkorb
  2015-11-23 17:28 ` Thomas Petazzoni
  2015-11-26 21:30 ` Peter Korsgaard
  0 siblings, 2 replies; 3+ messages in thread
From: Waldemar Brodkorb @ 2015-11-23 16:47 UTC (permalink / raw)
  To: buildroot

The created symlinks are wrong.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
---
 package/jimtcl/jimtcl.mk |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/jimtcl/jimtcl.mk b/package/jimtcl/jimtcl.mk
index e79e0f6..4afb217 100644
--- a/package/jimtcl/jimtcl.mk
+++ b/package/jimtcl/jimtcl.mk
@@ -33,8 +33,8 @@ else
 JIMTCL_SHARED = --shared
 define JIMTCL_INSTALL_LIB
 	$(INSTALL) -m 0755 -D $(@D)/libjim.so.$(JIMTCL_VERSION) \
-		$(1)/usr/lib/libjim.$(JIMTCL_VERSION)
-	ln -s libjim.$(JIMTCL_VERSION) $(1)/usr/lib/libjim.so
+		$(1)/usr/lib/libjim.so.$(JIMTCL_VERSION)
+	ln -sf libjim.so.$(JIMTCL_VERSION) $(1)/usr/lib/libjim.so
 endef
 endif
 
-- 
1.7.10.4

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

* [Buildroot] [PATCH] jimtcl: fix broken symlinks
  2015-11-23 16:47 [Buildroot] [PATCH] jimtcl: fix broken symlinks Waldemar Brodkorb
@ 2015-11-23 17:28 ` Thomas Petazzoni
  2015-11-26 21:30 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2015-11-23 17:28 UTC (permalink / raw)
  To: buildroot

Dear Waldemar Brodkorb,

On Mon, 23 Nov 2015 17:47:43 +0100, Waldemar Brodkorb wrote:
> The created symlinks are wrong.
> 
> Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
> ---
>  package/jimtcl/jimtcl.mk |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

 (runtime testing before and after the patch. Before the patch: cannot
 run jimsh due to the library being improperly installed)

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

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

* [Buildroot] [PATCH] jimtcl: fix broken symlinks
  2015-11-23 16:47 [Buildroot] [PATCH] jimtcl: fix broken symlinks Waldemar Brodkorb
  2015-11-23 17:28 ` Thomas Petazzoni
@ 2015-11-26 21:30 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2015-11-26 21:30 UTC (permalink / raw)
  To: buildroot

>>>>> "Waldemar" == Waldemar Brodkorb <wbx@openadk.org> writes:

 > The created symlinks are wrong.
 > Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>

Committed, thanks.

-- 
Bye, Peter Korsgaard

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

end of thread, other threads:[~2015-11-26 21:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-23 16:47 [Buildroot] [PATCH] jimtcl: fix broken symlinks Waldemar Brodkorb
2015-11-23 17:28 ` Thomas Petazzoni
2015-11-26 21:30 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox