summaryrefslogtreecommitdiff
path: root/packages/glibc/glibc.inc
diff options
context:
space:
mode:
authorThomas Kunze <thommycheck@gmx.de>2008-04-04 11:51:40 +0000
committerThomas Kunze <thommycheck@gmx.de>2008-04-04 11:51:40 +0000
commit4014ff1e2362a98c96f83b1e05230618ef2ec8b5 (patch)
tree78663b1941a8c43e297ca2a83b8b492d227496ba /packages/glibc/glibc.inc
parentb0d7d5e65d423e72ae5273d2dc7b8cc468540e92 (diff)
glibc: add libgcc do RDEPENDS if we build glibc with nptl
-ntpl dlopens libgcc so our shlibs code can't get this right
Diffstat (limited to 'packages/glibc/glibc.inc')
-rw-r--r--packages/glibc/glibc.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/glibc/glibc.inc b/packages/glibc/glibc.inc
index 40e0f8f333..c8d2d3b16f 100644
--- a/packages/glibc/glibc.inc
+++ b/packages/glibc/glibc.inc
@@ -7,6 +7,8 @@ LICENSE = "LGPL"
DEPENDS = "${@['virtual/${TARGET_PREFIX}gcc-initial', 'virtual/${TARGET_PREFIX}gcc']['nptl' in '${GLIBC_ADDONS}']} linux-libc-headers"
#this leads to circular deps, so lets not add it yet
#RDEPENDS_ldd += " bash"
+# nptl needs libgcc but dlopens it, so our shlibs code doesn't detect this
+RDEPENDS += "${@['','libgcc']['nptl' in '${GLIBC_ADDONS}']}"
PROVIDES = "virtual/libc ${@['virtual/${TARGET_PREFIX}libc-for-gcc', '']['nptl' in '${GLIBC_ADDONS}']}"
PROVIDES += "virtual/libintl virtual/libiconv"