浏览代码

depmaker: allow to install musl-obstack

Waldemar Brodkorb 5 天之前
父节点
当前提交
05530ef398
共有 1 个文件被更改,包括 1 次插入1 次删除
  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);