Browse Source

be sure libpthread-stubs is not skipped here

Waldemar Brodkorb 13 years ago
parent
commit
0b5972e753
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tools/adk/depmaker.c

+ 1 - 1
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)) {