$OpenBSD: patch-configure,v 1.6 2021/03/25 22:05:09 sthen Exp $

Index: configure
--- configure.orig
+++ configure
@@ -1735,6 +1735,10 @@ else
 
 #undef $2
 
+#ifdef __OpenBSD__
+#define iconv_open libiconv_open
+#endif
+
 /* Override any GCC internal prototype to avoid an error.
    Use char because int might match the return type of a GCC
    builtin and then its argument prototype would still apply.  */
