summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-04-26 11:07:16 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-04-26 11:07:16 +0200
commit0b5972e753c10fa8b0bc85961a97ec0b4b7def05 (patch)
tree8a04b068cb48acdb2f19c62285a5668ff56d84f4
parent5362582e05dab4ab401cc83d41da48aa574f3fc1 (diff)
be sure libpthread-stubs is not skipped here
-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 21958ffae..b2c5d0706 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)) {