Ver código fonte

depmaker: allow to install musl-obstack

Waldemar Brodkorb 5 dias atrás
pai
commit
05530ef398
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      adk/tools/depmaker.c

+ 1 - 1
adk/tools/depmaker.c

@@ -220,7 +220,7 @@ int main() {
 			/* exclude manual maintained packages from package/Makefile */
 			if (
 				!(strncmp(pkgdirp->d_name, "uclibc-ng", 9) == 0 && strlen(pkgdirp->d_name) == 9) &&
-				!(strncmp(pkgdirp->d_name, "musl", 4) == 0) &&
+				!(strncmp(pkgdirp->d_name, "musl", 4) == 0 && strlen(pkgdirp->d_name) == 4) &&
 				!(strncmp(pkgdirp->d_name, "glibc", 5) == 0)) {
 				/* print result to stdout */
 				printf("package-$(ADK_COMPILE_%s) += %s\n", pkgvar, pkgdirp->d_name);