jimtcl: change the way of defining the JIMTCL_INSTALL_LIB variable
authorJerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Thu, 15 Jan 2015 17:18:14 +0000 (18:18 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 1 Apr 2015 21:03:52 +0000 (23:03 +0200)
Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/jimtcl/jimtcl.mk

index 75c038204ca080f429b7d1228cb58d9ca1c49dc3..c2e04ff5c5abdf1239ca2be880a060f2a134fd1a 100644 (file)
@@ -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