[Buildroot] [git commit] jimtcl: fix broken symlinks

Peter Korsgaard peter at korsgaard.com
Thu Nov 26 21:30:22 UTC 2015


commit: http://git.buildroot.net/buildroot/commit/?id=ba60acfc58f644f4d77c70b8913acf59bff20ba7
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

The created symlinks are wrong.

Signed-off-by: Waldemar Brodkorb <wbx at openadk.org>
Acked-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
Tested-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 package/jimtcl/jimtcl.mk |    4 ++--
 1 files 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
 


More information about the buildroot mailing list