Просмотр исходного кода

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

Waldemar Brodkorb 13 лет назад
Родитель
Сommit
92058c02c2
1 измененных файлов с 1 добавлено и 1 удалено
  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) &&