Browse Source

add new keyword for PKG_NEEDS: iconv

Waldemar Brodkorb 7 years ago
parent
commit
78c205589c
2 changed files with 3 additions and 0 deletions
  1. 2 0
      adk/tools/pkgmaker.c
  2. 1 0
      package/dosfstools/Makefile

+ 2 - 0
adk/tools/pkgmaker.c

@@ -909,6 +909,8 @@ int main() {
 							fprintf(cfg, "\tselect ADK_TOOLCHAIN_WITH_CXX\n");
 							fprintf(cfg, "\tselect ADK_PACKAGE_LIBSTDCXX\n");
 						}
+						if (strncmp(token, "iconv", 5) == 0)
+							fprintf(cfg, "\tdepends on ADK_TARGET_LIBC_ICONV\n");
 						if (strncmp(token, "threads", 7) == 0)
 							fprintf(cfg, "\tselect ADK_TARGET_LIB_WITH_THREADS\n");
 						if (strncmp(token, "mmu", 3) == 0)

+ 1 - 0
package/dosfstools/Makefile

@@ -9,6 +9,7 @@ PKG_RELEASE:=		1
 PKG_HASH:=		9037738953559d1efe04fc5408b6846216cc0138f7f9d32de80b6ec3c35e7daf
 PKG_DESCR:=		utilities to create and check fat filesystems
 PKG_SECTION:=		sys/fs
+PKG_NEEDS:=		iconv
 PKG_URL:=		http://www.daniel-baumann.ch/software/dosfstools/
 PKG_SITES:=		https://github.com/dosfstools/dosfstools/releases/download/v$(PKG_VERSION)/