encoding.iconv: fix iconv on termux (fix #23597) (#24147)

This commit is contained in:
gechandesu 2025-04-07 08:14:49 +03:00 committed by GitHub
parent a69b0b7224
commit 13148e0b56
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -8,6 +8,7 @@ module iconv
#flag darwin -liconv
#flag openbsd -L/usr/local/lib -liconv
#flag termux -L/data/data/com.termux/files/usr/lib -liconv
fn C.iconv_open(tocode charptr, fromcode charptr) voidptr
fn C.iconv_close(cd voidptr) int