Explorar el Código

iproute2: fix for installation of duplicate files

Signed-off-by: Phil Sutter <phil.sutter@viprinet.com>
Phil Sutter hace 14 años
padre
commit
a8f8dfc2e9
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  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: