浏览代码

iproute2: fix for installation of duplicate files

Signed-off-by: Phil Sutter <phil.sutter@viprinet.com>
Phil Sutter 14 年之前
父节点
当前提交
a8f8dfc2e9
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      package/iproute2/Makefile

+ 2 - 1
package/iproute2/Makefile

@@ -64,7 +64,8 @@ install-ip:
 
 install-tc:
 	${INSTALL_DIR} ${IDIR_TC}/{lib/tc,usr/sbin}
-	${INSTALL_DATA} ${WRKINST}/lib/tc/* ${IDIR_TC}/lib/tc/
+	# use ${CP} here, since m_ipt.so is a symlink to m_xt.so
+	${CP} ${WRKINST}/lib/tc/{m_*.so,*.dist} ${IDIR_TC}/lib/tc/
 	${INSTALL_BIN} ${WRKINST}/sbin/tc ${IDIR_TC}/usr/sbin/
 
 install-tc-atm: