From: Sebastian Kemper Date: Sat, 3 Feb 2018 20:49:23 +0000 (+0100) Subject: kamailio-5.x: copy symbolic links instead of hard links X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=refs%2Fpull%2F262%2Fhead;p=feed%2Ftelephony.git kamailio-5.x: copy symbolic links instead of hard links Currently three copies of every library are installed. Save space by installing symbolic links instead. Signed-off-by: Sebastian Kemper --- diff --git a/net/kamailio-5.x/Makefile b/net/kamailio-5.x/Makefile index 9882dbc..97e08ba 100644 --- a/net/kamailio-5.x/Makefile +++ b/net/kamailio-5.x/Makefile @@ -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