From: Jerzy Grzegorek Date: Thu, 15 Jan 2015 17:18:14 +0000 (+0100) Subject: jimtcl: change the way of defining the JIMTCL_INSTALL_LIB variable X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a4c2843fbbd03c88457ae0ca37fb32fa9c80cb48;p=buildroot.git jimtcl: change the way of defining the JIMTCL_INSTALL_LIB variable Signed-off-by: Jerzy Grzegorek Acked-by: "Yann E. MORIN" Signed-off-by: Thomas Petazzoni --- diff --git a/package/jimtcl/jimtcl.mk b/package/jimtcl/jimtcl.mk index 75c038204c..c2e04ff5c5 100644 --- a/package/jimtcl/jimtcl.mk +++ b/package/jimtcl/jimtcl.mk @@ -32,10 +32,11 @@ JIMTCL_INSTALL_LIB = else JIMTCL_SHARED = --shared JIMTCL_LIB = so.$(JIMTCL_VERSION) -JIMTCL_INSTALL_LIB = \ +define JIMTCL_INSTALL_LIB $(INSTALL) -D $(@D)/libjim.$(JIMTCL_LIB) \ - $(TARGET_DIR)/usr/lib/libjim.$(JIMTCL_LIB); \ + $(TARGET_DIR)/usr/lib/libjim.$(JIMTCL_LIB) ln -s libjim.$(JIMTCL_LIB) $(TARGET_DIR)/usr/lib/libjim.so +endef endif define JIMTCL_CONFIGURE_CMDS