kamailio-5.x: copy symbolic links instead of hard links 262/head
authorSebastian Kemper <sebastian_ml@gmx.net>
Sat, 3 Feb 2018 20:49:23 +0000 (21:49 +0100)
committerSebastian Kemper <sebastian_ml@gmx.net>
Sat, 3 Feb 2018 20:50:52 +0000 (21:50 +0100)
Currently three copies of every library are installed. Save space by
installing symbolic links instead.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
net/kamailio-5.x/Makefile

index 9882dbc2597e2de85bce15d316535dd65e38c6c5..97e08ba7e1d0a9df67f53e9ab016281a6176a246 100644 (file)
@@ -57,7 +57,7 @@ define Package/kamailio5/install
                $(PKG_INSTALL_DIR)/usr/sbin/kam{ailio,cmd,ctl,dbctl} \
                $(1)/usr/sbin/
        $(INSTALL_DIR) $(1)/usr/lib/kamailio/modules
-       $(INSTALL_BIN) \
+       $(CP) \
                $(PKG_INSTALL_DIR)/usr/lib/kamailio/lib*.so* \
                $(1)/usr/lib/kamailio/
        $(INSTALL_DIR) $(1)/etc/kamailio