Browse Source

Fix reimport for contrib/libs/libidn && contrib/libs/libidn2

ref:b3e0d892ec1da62e0fd55942c41e758c47ab3557
thegeorg 2 years ago
parent
commit
60df399b58
1 changed files with 7 additions and 2 deletions
  1. 7 2
      build/sysincl/misc.yml

+ 7 - 2
build/sysincl/misc.yml

@@ -47,8 +47,9 @@
     - contrib/libs/jdk/include/linux/jni_md.h
     - contrib/libs/jdk/include/win32/jni_md.h
 
-# libunistring has its own libc header wrappers that are added to ADDINCL and
-# need to be added here for consistensy between ADDINCL and sysincl resolving.
+# libunistring, libidn and libidn2
+# have its own libc header wrappers that are added to ADDINCL
+# and need to be added here for consistensy between ADDINCL and sysincl resolving.
 # Btw: we don't parse include_next, so we might lose real dependency to musl,
 # but sysincl resolving will save us here, as it will resolve to both of them.
 - source_filter: "^contrib/libs/libunistring"
@@ -66,6 +67,10 @@
     - wchar.h:       contrib/libs/libunistring/wchar.h
     - wctype.h:      contrib/libs/libunistring/wctype.h
 
+- source_filter: "^contrib/libs/libidn"
+  includes:
+    - iconv.h:       contrib/libs/libidn/lib/gl/iconv.h
+
 - source_filter: "^contrib/libs/libidn2/"
   includes:
     - error.h:  contrib/libs/libidn2/gl/error.h