summaryrefslogtreecommitdiff
path: root/packages/glibc/glibc.inc
diff options
context:
space:
mode:
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"