summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorPhil Sutter <phil.sutter@viprinet.com>2012-01-12 19:36:30 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2012-01-15 11:07:02 +0100
commitaed4ca5864e8384d0d1e9b3a1f276e75c7abef3c (patch)
tree4791a24f446e8d9890a45d510ced5ab9461e4ea7 /package
parent7e101173df01ab1a49bac814e2757ac5025500d2 (diff)
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.
Diffstat (limited to 'package')
-rw-r--r--package/gdb/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/gdb/Makefile b/package/gdb/Makefile
index 0d91b5600..223d603d8 100644
--- a/package/gdb/Makefile
+++ b/package/gdb/Makefile
@@ -33,5 +33,7 @@ pre-build:
post-install:
${INSTALL_DIR} ${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