Fix linking with iconv under FreeBSD
On FreeBSD we have either system iconv (part of libc) or the one in /usr/local. The first one is not fully compatible with Linux/ OSX iconv and both adds specific prefixes to function names. So to use them via Lua FFI mechanism, specific names are required. Proposal fix: Under FreeBSD link with /usr/local/lib/libiconv.so and add prefix. Closes gh-3073.
Loading
Please register or sign in to comment