Explorar el Código

package/gdb: prevent shipped libbfd from cluttering the system wide one

This lib won't get installed anyway, packages linking against libbfd
should simply depend on the libbfd provided by binutils.
Phil Sutter hace 11 años
padre
commit
57b934e66a
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      package/gdb/Makefile

+ 2 - 0
package/gdb/Makefile

@@ -43,5 +43,7 @@ XAKE_FLAGS+=		GCC_HONOUR_COPTS:=s
 gdb-install:
 gdb-install:
 	${INSTALL_DIR} ${IDIR_GDB}/usr/bin
 	${INSTALL_DIR} ${IDIR_GDB}/usr/bin
 	${INSTALL_BIN} ${WRKINST}/usr/bin/gdb ${IDIR_GDB}/usr/bin/
 	${INSTALL_BIN} ${WRKINST}/usr/bin/gdb ${IDIR_GDB}/usr/bin/
+	# shipped libbfd conflicts with system wide one
+	rm -f ${WRKINST}/usr/lib/libbfd*
 
 
 include ${ADK_TOPDIR}/mk/pkg-bottom.mk
 include ${ADK_TOPDIR}/mk/pkg-bottom.mk