소스 검색

be sure libpthread-stubs is not skipped here

Waldemar Brodkorb 14 년 전
부모
커밋
0b5972e753
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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)) {