summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-04-26 09:07:16 (GMT)
committerWaldemar Brodkorb <wbx@openadk.org>2011-04-26 09:07:16 (GMT)
commit0b5972e753c10fa8b0bc85961a97ec0b4b7def05 (patch)
tree8a04b068cb48acdb2f19c62285a5668ff56d84f4 /tools
parent5362582e05dab4ab401cc83d41da48aa574f3fc1 (diff)
be sure libpthread-stubs is not skipped here
Diffstat (limited to 'tools')
-rw-r--r--tools/adk/depmaker.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/adk/depmaker.c b/tools/adk/depmaker.c
index 21958ff..b2c5d07 100644
--- a/tools/adk/depmaker.c
+++ b/tools/adk/depmaker.c
@@ -157,7 +157,7 @@ int main() {
/* exclude manual maintained packages from package/Makefile */
if (!(strncmp(pkgdirp->d_name, "eglibc", 6) == 0) &&
!(strncmp(pkgdirp->d_name, "libc", 4) == 0) &&
- !(strncmp(pkgdirp->d_name, "libpthread", 10) == 0) &&
+ !(strncmp(pkgdirp->d_name, "libpthread", 10) == 0 && strlen(pkgdirp->d_name) == 10) &&
!(strncmp(pkgdirp->d_name, "uclibc++", 8) == 0) &&
!(strncmp(pkgdirp->d_name, "uclibc", 6) == 0) &&
!(strncmp(pkgdirp->d_name, "glibc", 5) == 0)) {