[clang] [llvm] [llvm-strings] Add --encoding={s, S, utf8} option (PR #221794)

Harald van Dijk via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 12 02:30:06 PST 2026


================
@@ -15,6 +15,10 @@ add_llvm_tool(llvm-strings
   StringsOptsTableGen
   )
 
+if(APPLE)
+  target_link_libraries(llvm-strings PRIVATE iconv)
+endif()
+
----------------
hvdijk wrote:

This must not use GNU libiconv, this is only designed to work with the libiconv that Apple provides.

https://github.com/llvm/llvm-project/pull/221794


More information about the cfe-commits mailing list