Browse Source

libcapi is not installed, fix depmaker bug, reported by Tobias

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

+ 1 - 1
tools/adk/depmaker.c

@@ -156,7 +156,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, "libc", 4) == 0 && strlen(pkgdirp->d_name) == 4) &&
 				!(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) &&