1
0
Quellcode durchsuchen

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 vor 14 Jahren
Ursprung
Commit
aed4ca5864
1 geänderte Dateien mit 2 neuen und 0 gelöschten Zeilen
  1. 2 0
      package/gdb/Makefile

+ 2 - 0
package/gdb/Makefile

@@ -33,5 +33,7 @@ pre-build:
 post-install:
 post-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 ${TOPDIR}/mk/pkg-bottom.mk
 include ${TOPDIR}/mk/pkg-bottom.mk