Skip to contentSkip to conversation

jimtcl: fix broken symlinks

PATCH New Waldemar Brodkorb 3 participants 3 messages Nov 23, 2015 – Nov 26, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 jimtcl: fix broken symlinks

The created symlinks are wrong.

---
 package/jimtcl/jimtcl.mk |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
package/jimtcl/jimtcl.mk +2 -2
index e79e0f6..4afb217 100644
@@ -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
 
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH 1/1 jimtcl: fix broken symlinks

Dear Waldemar Brodkorb,

Quoted 6 lines · Waldemar Brodkorb

The created symlinks are wrong.

---
 package/jimtcl/jimtcl.mk |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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

Thanks,

Thomas

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